tensorflow::Tensor::vec()

TTypes<T>::ConstVec tensorflow::Tensor::vec() const Const versions of all the methods above.

tensorflow::TensorShape::AsEigenDSizesWithPadding()

Eigen::DSizes< Eigen::DenseIndex, NDIMS > tensorflow::TensorShape::AsEigenDSizesWithPadding() const Same as AsEigenDSizes() but allows for NDIMS > dims() in which case we pad the rest of the sizes with 1.

tensorflow::TensorShape::AsEigenDSizes()

Eigen::DSizes< Eigen::DenseIndex, NDIMS > tensorflow::TensorShape::AsEigenDSizes() const Fill *dsizes from *this.

tensorflow::Tensor::tensor_data()

StringPiece tensorflow::Tensor::tensor_data() const Returns a StringPiece mapping the current tensor's buffer. The returned StringPiece may point to memory location on devices that the CPU cannot address directly. NOTE: The underlying tensor buffer is refcounted, so the lifetime of the contents mapped by the StringPiece matches the lifetime of the buffer; callers should arrange to make sure the buffer does not get destroyed while the StringPiece is still used. REQUIRES: DataTypeCanUseMemcpy(dt

tensorflow::Tensor::TotalBytes()

size_t tensorflow::Tensor::TotalBytes() const Returns the estimated memory usage of this tensor.

tensorflow::Tensor::unaligned_shaped()

TTypes< T, NDIMS >::UnalignedTensor tensorflow::Tensor::unaligned_shaped(gtl::ArraySlice< int64 > new_sizes)

tensorflow::Tensor::unaligned_flat()

TTypes<T>::UnalignedFlat tensorflow::Tensor::unaligned_flat()

tensorflow::Tensor::UnsafeCopyFromInternal()

void tensorflow::Tensor::UnsafeCopyFromInternal(const Tensor &, const TensorShape &) Copy the other tensor into this tensor and reshape it and reinterpret the buffer's datatype. This tensor shares other's underlying storage.

tensorflow::Tensor::unaligned_flat()

TTypes<T>::UnalignedConstFlat tensorflow::Tensor::unaligned_flat() const

tensorflow::Tensor::unaligned_shaped()

TTypes< T, NDIMS >::UnalignedConstTensor tensorflow::Tensor::unaligned_shaped(gtl::ArraySlice< int64 > new_sizes) const