tensorflow::batch_util

Summary

Functions

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

Functions

CopyContiguousSlices

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

CopyElementToSlice

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

CopySliceToElement

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

MaybeMoveSliceToElement

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