org.tensorflow.framework.TensorDescriptionOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: tensor_description.proto
package org.tensorflow.framework;
public interface TensorDescriptionOrBuilder extends
// @@protoc_insertion_point(interface_extends:tensorflow.TensorDescription)
com.google.protobuf.MessageOrBuilder {
/**
*
* Data type of tensor elements
*
*
* optional .tensorflow.DataType dtype = 1;
*/
int getDtypeValue();
/**
*
* Data type of tensor elements
*
*
* optional .tensorflow.DataType dtype = 1;
*/
org.tensorflow.framework.DataType getDtype();
/**
*
* Shape of the tensor.
*
*
* optional .tensorflow.TensorShapeProto shape = 2;
*/
boolean hasShape();
/**
*
* Shape of the tensor.
*
*
* optional .tensorflow.TensorShapeProto shape = 2;
*/
org.tensorflow.framework.TensorShapeProto getShape();
/**
*
* Shape of the tensor.
*
*
* optional .tensorflow.TensorShapeProto shape = 2;
*/
org.tensorflow.framework.TensorShapeProtoOrBuilder getShapeOrBuilder();
/**
*
* Information about the size and allocator used for the data
*
*
* optional .tensorflow.AllocationDescription allocation_description = 4;
*/
boolean hasAllocationDescription();
/**
*
* Information about the size and allocator used for the data
*
*
* optional .tensorflow.AllocationDescription allocation_description = 4;
*/
org.tensorflow.framework.AllocationDescription getAllocationDescription();
/**
*
* Information about the size and allocator used for the data
*
*
* optional .tensorflow.AllocationDescription allocation_description = 4;
*/
org.tensorflow.framework.AllocationDescriptionOrBuilder getAllocationDescriptionOrBuilder();
}