tensorflow::batch_util

Summary

Functions

CopyContiguousSlices(const Tensor & src, int64 src_offset, int64 dst_offset, int64 num_slices, Tensor *dst)
Status
CopyElementToSlice(Tensor element, Tensor *parent, int64 index)
Status
CopySliceToElement(const Tensor & parent, Tensor *element, int64 index)
Status
MaybeMoveSliceToElement(Tensor *parent, Tensor *element, int64 index)
Status

Functions

CopyContiguousSlices

Status CopyContiguousSlices(
  const Tensor & src,
  int64 src_offset,
  int64 dst_offset,
  int64 num_slices,
  Tensor *dst
)

CopyElementToSlice

Status CopyElementToSlice(
  Tensor element,
  Tensor *parent,
  int64 index
)

CopySliceToElement

Status CopySliceToElement(
  const Tensor & parent,
  Tensor *element,
  int64 index
)

MaybeMoveSliceToElement

Status MaybeMoveSliceToElement(
  Tensor *parent,
  Tensor *element,
  int64 index
)