org.tensorflow.Output Java Examples

The following examples show how to use org.tensorflow.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: SerializeIterator.java    From java with Apache License 2.0 4 votes vote down vote up
@Override
@SuppressWarnings("unchecked")
public Output<TType> asOutput() {
  return (Output<TType>) serialized;
}
 
Example #2
Source File: IteratorGetNextAsOptional.java    From java with Apache License 2.0 4 votes vote down vote up
@Override
@SuppressWarnings("unchecked")
public Output<TType> asOutput() {
  return (Output<TType>) optional;
}
 
Example #3
Source File: BatchCholesky.java    From java with Apache License 2.0 4 votes vote down vote up
/**
 */
public Output<T> output() {
  return output;
}
 
Example #4
Source File: SparseSegmentMeanGrad.java    From java with Apache License 2.0 4 votes vote down vote up
@Override
public Output<T> asOutput() {
  return output;
}
 
Example #5
Source File: SparseApplyProximalAdagrad.java    From java with Apache License 2.0 4 votes vote down vote up
/**
 * Same as "var".
 */
public Output<T> out() {
  return out;
}
 
Example #6
Source File: RegexFullMatch.java    From java with Apache License 2.0 4 votes vote down vote up
/**
 * A bool tensor with the same shape as `input`.
 */
public Output<TBool> output() {
  return output;
}
 
Example #7
Source File: Acosh.java    From java with Apache License 2.0 4 votes vote down vote up
/**
 */
public Output<T> y() {
  return y;
}
 
Example #8
Source File: ReduceAll.java    From java with Apache License 2.0 4 votes vote down vote up
@Override
public Output<TBool> asOutput() {
  return output;
}
 
Example #9
Source File: Empty.java    From java with Apache License 2.0 4 votes vote down vote up
/**
 * A `Tensor` of type `T`.
 */
public Output<T> output() {
  return output;
}
 
Example #10
Source File: ResizeBilinear.java    From java with Apache License 2.0 4 votes vote down vote up
@Override
public Output<TFloat32> asOutput() {
  return resizedImages;
}
 
Example #11
Source File: ParseSequenceExample.java    From java with Apache License 2.0 4 votes vote down vote up
/**
 */
public List<Output<?>> contextSparseValues() {
  return contextSparseValues;
}
 
Example #12
Source File: RandomUniformInt.java    From java with Apache License 2.0 4 votes vote down vote up
@Override
public Output<U> asOutput() {
  return output;
}
 
Example #13
Source File: CudnnRNNBackprop.java    From java with Apache License 2.0 4 votes vote down vote up
/**
 */
public Output<T> paramsBackprop() {
  return paramsBackprop;
}
 
Example #14
Source File: TextLineDataset.java    From java with Apache License 2.0 4 votes vote down vote up
/**
 */
public Output<?> handle() {
  return handle;
}
 
Example #15
Source File: ZipDataset.java    From java with Apache License 2.0 4 votes vote down vote up
/**
 */
public Output<?> handle() {
  return handle;
}
 
Example #16
Source File: SoftmaxCrossEntropyWithLogits.java    From java with Apache License 2.0 4 votes vote down vote up
/**
 * Per example loss (batch_size vector).
 */
public Output<T> loss() {
  return loss;
}
 
Example #17
Source File: RetrieveTPUEmbeddingCenteredRMSPropParameters.java    From java with Apache License 2.0 4 votes vote down vote up
/**
 * Parameter mg updated by the centered RMSProp optimization algorithm.
 */
public Output<TFloat32> mg() {
  return mg;
}
 
Example #18
Source File: ModelDataset.java    From java with Apache License 2.0 4 votes vote down vote up
@Override
@SuppressWarnings("unchecked")
public Output<TType> asOutput() {
  return (Output<TType>) handle;
}
 
Example #19
Source File: TensorArrayWrite.java    From java with Apache License 2.0 4 votes vote down vote up
@Override
public Output<TFloat32> asOutput() {
  return flowOut;
}
 
Example #20
Source File: TensorArrayPack.java    From java with Apache License 2.0 4 votes vote down vote up
/**
 */
public Output<T> value() {
  return value;
}
 
Example #21
Source File: CudnnRNN.java    From java with Apache License 2.0 4 votes vote down vote up
/**
 */
public Output<T> reserveSpace() {
  return reserveSpace;
}
 
Example #22
Source File: Tan.java    From java with Apache License 2.0 4 votes vote down vote up
/**
 */
public Output<T> y() {
  return y;
}
 
Example #23
Source File: SparseConditionalAccumulator.java    From java with Apache License 2.0 4 votes vote down vote up
@Override
public Output<TString> asOutput() {
  return handle;
}
 
Example #24
Source File: NcclReduce.java    From java with Apache License 2.0 4 votes vote down vote up
@Override
public Output<T> asOutput() {
  return output;
}
 
Example #25
Source File: Unbatch.java    From java with Apache License 2.0 4 votes vote down vote up
@Override
public Output<T> asOutput() {
  return unbatchedTensor;
}
 
Example #26
Source File: QuantizedConv2DAndReluAndRequantize.java    From java with Apache License 2.0 4 votes vote down vote up
/**
 */
public Output<TFloat32> minOutput() {
  return minOutput;
}
 
Example #27
Source File: ReadFile.java    From java with Apache License 2.0 4 votes vote down vote up
@Override
public Output<TString> asOutput() {
  return contents;
}
 
Example #28
Source File: QuantizedMatMul.java    From java with Apache License 2.0 4 votes vote down vote up
/**
 * The float value that the highest quantized output value represents.
 */
public Output<TFloat32> maxOut() {
  return maxOut;
}
 
Example #29
Source File: StringFormat.java    From java with Apache License 2.0 4 votes vote down vote up
/**
 * = The resulting string scalar.
 */
public Output<TString> output() {
  return output;
}
 
Example #30
Source File: ImageRecognitionTensorflowInputConverter.java    From tensorflow with Apache License 2.0 4 votes vote down vote up
Output div(Output x, Output y) {
	return binaryOp("Div", x, y);
}