SingleRecordStrategy | R Documentation |
If a single record does not fit within the payload specified it will throw a RuntimeError.
sagemaker.core::BatchStrategy
-> SingleRecordStrategy
pad()
Group together as many records as possible to fit in the specified size. This SingleRecordStrategy will not group any record and will return them one by one as long as they are within the maximum size.
SingleRecordStrategy$pad(file, size = 6)
file
(str): file path to read the records from.
size
(int): maximum size in MB that each group of records will be fitted to. passing 0 means unlimited size.
generator of records
clone()
The objects of this class are cloneable with this method.
SingleRecordStrategy$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.