operation
Modifier and Type | Method and Description |
---|---|
Output<Long> |
asOutput()
Returns the symbolic handle of a tensor.
|
Output<Long> |
cardinality()
The cardinality of `input_dataset`.
|
static ExperimentalDatasetCardinality |
create(Scope scope,
Operand<?> inputDataset)
Factory method to create a class wrapping a new ExperimentalDatasetCardinality operation.
|
equals, hashCode, op, toString
public static ExperimentalDatasetCardinality create(Scope scope, Operand<?> inputDataset)
scope
- current scopeinputDataset
- A variant tensor representing the dataset to return cardinality for.public Output<Long> cardinality()
public Output<Long> asOutput()
Operand
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.
asOutput
in interface Operand<Long>
OperationBuilder.addInput(Output)
Copyright © 2022. All rights reserved.