DataSet
import com.mindspore.flclient.model.DataSet
DataSet defines end-side federated learning dataset object.
Public Member Functions
function |
---|
abstract void fillInputBuffer(List<ByteBuffer> var1, int var2) |
fillInputBuffer
public abstract void fillInputBuffer(List<ByteBuffer> var1, int var2)
Fill input buffer data.
Parameters
var1
: Need fill buffer.var2
: Need fill batch index.
shuffle
public abstract void shuffle()
Shuffle data.
padding
public abstract void padding()
Pad data.
dataPreprocess
public abstract Status dataPreprocess(List<String> var1)
Data preprocess.
Parameters
var1
: Data files.
Returns
Whether the execution is successful.