Class ZipDataset
java.lang.Object
org.tensorflow.op.RawOp
org.tensorflow.op.data.ZipDataset
Creates a dataset that zips together
input_datasets.
The elements of the resulting dataset are created by zipping corresponding
elements from each of the input datasets.
The size of the resulting dataset will match the size of the smallest input dataset, and no error will be raised if input datasets have different sizes.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe name of this op, as known by TensorFlow core engine -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasOutput()Returns the symbolic handle of the tensor.static ZipDatasetcreate(Scope scope, Iterable<Operand<? extends TType>> inputDatasets, List<Class<? extends TType>> outputTypes, List<Shape> outputShapes, ZipDataset.Options... options) Factory method to create a class wrapping a new ZipDataset operation.handle()Gets handle.static ZipDataset.OptionsSets the metadata option.
-
Field Details
-
OP_NAME
The name of this op, as known by TensorFlow core engine- See Also:
-
-
Constructor Details
-
ZipDataset
-
-
Method Details
-
create
@Endpoint(describeByClass=true) public static ZipDataset create(Scope scope, Iterable<Operand<? extends TType>> inputDatasets, List<Class<? extends TType>> outputTypes, List<Shape> outputShapes, ZipDataset.Options... options) Factory method to create a class wrapping a new ZipDataset operation.- Parameters:
scope- current scopeinputDatasets- List ofNvariant Tensors representing datasets to be zipped together.outputTypes- The value of the outputTypes attributeoutputShapes- The value of the outputShapes attributeoptions- carries optional attribute values- Returns:
- a new instance of ZipDataset
-
metadata
Sets the metadata option.- Parameters:
metadata- the metadata option- Returns:
- this Options instance.
-
handle
-
asOutput
Description copied from interface:OperandReturns the symbolic handle of the tensor.Inputs to TensorFlow operations are outputs of another TensorFlow operation. This method is used to obtain a symbolic handle that represents the computation of the input.
-