Home
last modified time | relevance | path

Searched refs:crop_start (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dbatchtospace_op.cc129 int64 crop_start = crops.Get<int64>({i, 0}); in BatchToSpace() local
131 OP_REQUIRES(ctx, crop_start >= 0 && crop_end >= 0, in BatchToSpace()
133 start_indices[1 + i] = crop_start; in BatchToSpace()
138 "Cropped size must be non-negative: start: ", crop_start, in BatchToSpace()
/external/tensorflow/tensorflow/core/kernels/
Dbatchtospace_op.cc150 const int64 crop_start = crops[2 * block_dim], in BatchToSpaceOpCompute() local
152 OP_REQUIRES(context, crop_start >= 0 && crop_end >= 0, in BatchToSpaceOpCompute()
157 input_size * block_shape_value - crop_start - crop_end; in BatchToSpaceOpCompute()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_BatchToSpaceND.pbtxt20 `crops[i] = [crop_start, crop_end]` specifies the amount to crop from input
23 `crop_start[i] + crop_end[i] <= block_shape[i] * input_shape[i + 1]`.
/external/tensorflow/tensorflow/core/ops/
Darray_ops.cc2199 const int64 crop_start = crops_vec[dim * 2], in BatchToSpaceShapeHelper() local
2201 if (crop_start < 0 || crop_end < 0) { in BatchToSpaceShapeHelper()
2209 c->Subtract(cropped_size, crop_start, &cropped_size)); in BatchToSpaceShapeHelper()