Java Code Examples for org.tensorflow.Operation#output()

The following examples show how to use org.tensorflow.Operation#output() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: SparseCross.java    From java with Apache License 2.0 5 votes vote down vote up
private SparseCross(Operation operation) {
  super(operation);
  int outputIdx = 0;
  outputIndices = operation.output(outputIdx++);
  outputValues = operation.output(outputIdx++);
  outputShape = operation.output(outputIdx++);
}
 
Example 2
Source File: LSTMBlockCellGrad.java    From java with Apache License 2.0 5 votes vote down vote up
private LSTMBlockCellGrad(Operation operation) {
  super(operation);
  int outputIdx = 0;
  csPrevGrad = operation.output(outputIdx++);
  dicfo = operation.output(outputIdx++);
  wciGrad = operation.output(outputIdx++);
  wcfGrad = operation.output(outputIdx++);
  wcoGrad = operation.output(outputIdx++);
}
 
Example 3
Source File: QuantizedDepthwiseConv2D.java    From java with Apache License 2.0 5 votes vote down vote up
private QuantizedDepthwiseConv2D(Operation operation) {
  super(operation);
  int outputIdx = 0;
  output = operation.output(outputIdx++);
  minOutput = operation.output(outputIdx++);
  maxOutput = operation.output(outputIdx++);
}
 
Example 4
Source File: QuantizedConv2d.java    From java with Apache License 2.0 5 votes vote down vote up
private QuantizedConv2d(Operation operation) {
  super(operation);
  int outputIdx = 0;
  output = operation.output(outputIdx++);
  minOutput = operation.output(outputIdx++);
  maxOutput = operation.output(outputIdx++);
}
 
Example 5
Source File: RetrieveTPUEmbeddingRMSPropParameters.java    From java with Apache License 2.0 5 votes vote down vote up
private RetrieveTPUEmbeddingRMSPropParameters(Operation operation) {
  super(operation);
  int outputIdx = 0;
  parameters = operation.output(outputIdx++);
  ms = operation.output(outputIdx++);
  mom = operation.output(outputIdx++);
}
 
Example 6
Source File: ImmutableConst.java    From java with Apache License 2.0 4 votes vote down vote up
private ImmutableConst(Operation operation) {
  super(operation);
  int outputIdx = 0;
  tensor = operation.output(outputIdx++);
}
 
Example 7
Source File: Bucketize.java    From java with Apache License 2.0 4 votes vote down vote up
private Bucketize(Operation operation) {
  super(operation);
  int outputIdx = 0;
  output = operation.output(outputIdx++);
}
 
Example 8
Source File: StridedSliceAssign.java    From java with Apache License 2.0 4 votes vote down vote up
private StridedSliceAssign(Operation operation) {
  super(operation);
  int outputIdx = 0;
  outputRef = operation.output(outputIdx++);
}
 
Example 9
Source File: AnonymousIterator.java    From java with Apache License 2.0 4 votes vote down vote up
private AnonymousIterator(Operation operation) {
  super(operation);
  int outputIdx = 0;
  handle = operation.output(outputIdx++);
  deleter = operation.output(outputIdx++);
}
 
Example 10
Source File: OneHot.java    From java with Apache License 2.0 4 votes vote down vote up
private OneHot(Operation operation) {
  super(operation);
  int outputIdx = 0;
  output = operation.output(outputIdx++);
}
 
Example 11
Source File: ToNumber.java    From java with Apache License 2.0 4 votes vote down vote up
private ToNumber(Operation operation) {
  super(operation);
  int outputIdx = 0;
  output = operation.output(outputIdx++);
}
 
Example 12
Source File: SerializeManySparse.java    From java with Apache License 2.0 4 votes vote down vote up
private SerializeManySparse(Operation operation) {
  super(operation);
  int outputIdx = 0;
  serializedSparse = operation.output(outputIdx++);
}
 
Example 13
Source File: AssertNextDataset.java    From java with Apache License 2.0 4 votes vote down vote up
private AssertNextDataset(Operation operation) {
  super(operation);
  int outputIdx = 0;
  handle = operation.output(outputIdx++);
}
 
Example 14
Source File: Conv3dBackpropInput.java    From java with Apache License 2.0 4 votes vote down vote up
private Conv3dBackpropInput(Operation operation) {
  super(operation);
  int outputIdx = 0;
  output = operation.output(outputIdx++);
}
 
Example 15
Source File: RequantizationRangePerChannel.java    From java with Apache License 2.0 4 votes vote down vote up
private RequantizationRangePerChannel(Operation operation) {
  super(operation);
  int outputIdx = 0;
  outputMin = operation.output(outputIdx++);
  outputMax = operation.output(outputIdx++);
}
 
Example 16
Source File: ResourceAccumulatorNumAccumulated.java    From java with Apache License 2.0 4 votes vote down vote up
private ResourceAccumulatorNumAccumulated(Operation operation) {
  super(operation);
  int outputIdx = 0;
  numAccumulated = operation.output(outputIdx++);
}
 
Example 17
Source File: Less.java    From java with Apache License 2.0 4 votes vote down vote up
private Less(Operation operation) {
  super(operation);
  int outputIdx = 0;
  z = operation.output(outputIdx++);
}
 
Example 18
Source File: Any.java    From java with Apache License 2.0 4 votes vote down vote up
private Any(Operation operation) {
  super(operation);
  int outputIdx = 0;
  output = operation.output(outputIdx++);
}
 
Example 19
Source File: SparseApplyProximalAdagrad.java    From java with Apache License 2.0 4 votes vote down vote up
private SparseApplyProximalAdagrad(Operation operation) {
  super(operation);
  int outputIdx = 0;
  out = operation.output(outputIdx++);
}
 
Example 20
Source File: MatrixSetDiag.java    From java with Apache License 2.0 4 votes vote down vote up
private MatrixSetDiag(Operation operation) {
  super(operation);
  int outputIdx = 0;
  output = operation.output(outputIdx++);
}