BatchStrategy | R Documentation |
BatchStrategy class
BatchStrategy class
new()
Create a Batch Strategy Instance
BatchStrategy$new(splitter)
splitter
(sagemaker.local.data.Splitter): A Splitter to pre-process the data before batching.
pad()
Group together as many records as possible to fit in the specified size.
BatchStrategy$pad(file, size)
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.
BatchStrategy$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.