Package com.yahoo.tensor
Class MappedTensor.Builder
java.lang.Object
com.yahoo.tensor.MappedTensor.Builder
- All Implemented Interfaces:
Tensor.Builder
- Enclosing class:
- MappedTensor
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.yahoo.tensor.Tensor.Builder
Tensor.Builder.CellBuilder -
Method Summary
Modifier and TypeMethodDescriptionbuild()cell()Return a cell buildercell(double value, long... labels) Add a cellcell(float value, long... labels) cell(TensorAddress address, double value) Add a cellcell(TensorAddress address, float value) static MappedTensor.Builderof(TensorType type) Creates a suitable builder for the given typetype()Returns the type of the tensor this is buildingMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.yahoo.tensor.Tensor.Builder
cell, cell, cell
-
Method Details
-
of
Description copied from interface:Tensor.BuilderCreates a suitable builder for the given type -
cell
Description copied from interface:Tensor.BuilderReturn a cell builder- Specified by:
cellin interfaceTensor.Builder
-
type
Description copied from interface:Tensor.BuilderReturns the type of the tensor this is building- Specified by:
typein interfaceTensor.Builder
-
cell
- Specified by:
cellin interfaceTensor.Builder
-
cell
Description copied from interface:Tensor.BuilderAdd a cell- Specified by:
cellin interfaceTensor.Builder
-
cell
- Specified by:
cellin interfaceTensor.Builder
-
cell
Description copied from interface:Tensor.BuilderAdd a cell- Specified by:
cellin interfaceTensor.Builder
-
build
- Specified by:
buildin interfaceTensor.Builder
-