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