Home
last modified time | relevance | path

Searched refs:axis_size (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/lite/kernels/internal/
Dstrided_slice_logic.h96 int axis_size = input_shape.Dims(axis); in StartForAxis() local
98 start += axis_size; in StartForAxis()
102 start = Clamp(start, 0, axis_size - 1); in StartForAxis()
145 const int axis_size = input_shape.Dims(axis); in StopForAxis() local
147 stop += axis_size; in StopForAxis()
155 stop = Clamp(stop, 0, axis_size); in StopForAxis()
158 stop = Clamp(stop, -1, axis_size - 1); in StopForAxis()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dindex_ops.cc55 const int64 axis_size = input_shape.dim_size(axis); in Compile() local
57 ctx, axis_size > 0, in Compile()
Dindex_ops_cpu.cc63 const int64 axis_size = input_shape.dim_size(axis); in Compile() local
64 OP_REQUIRES(ctx, axis_size > 0, in Compile()
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Darithmetic.cc164 const int64 axis_size = ShapeUtil::GetDimension(input_shape, axis); in ArgMinMax() local
165 XlaOp iota = Iota(builder, output_type, axis_size); in ArgMinMax()
/external/freetype/src/sfnt/
Dsfobjs.c957 FT_UShort axis_size; in sfnt_init_face() local
976 FT_READ_USHORT( axis_size ) || in sfnt_init_face()
983 axis_size = 0; in sfnt_init_face()
990 axis_size != 20 || in sfnt_init_face()
999 axis_size * num_axes + in sfnt_init_face()
1036 default_value_offset += axis_size; in sfnt_init_face()
1040 instance_offset = array_start + axis_size * num_axes + 4; in sfnt_init_face()
/external/tensorflow/tensorflow/lite/kernels/
Dreduce.cc78 TfLiteIntArray* axis_size = TfLiteIntArrayCreate(1); in ResizeTempAxis() local
79 axis_size->data[0] = static_cast<int>(NumElements(op_context->axis)); in ResizeTempAxis()
80 return context->ResizeTensor(context, resolved_axis, axis_size); in ResizeTempAxis()
/external/tensorflow/tensorflow/contrib/labeled_tensor/python/ops/
Dops.py359 axis_size = lambda axis: -1 if axis.size is None else axis.size function
360 shape = [axis_size(axis) for axis in original_values[:start]]
366 shape.append(axis_size(axis))
367 shape.extend(axis_size(axis) for axis in original_values[stop:])
/external/freetype/src/truetype/
Dttgxvar.c1985 FT_Offset axis_size; in TT_Get_MM_Var() local
2102 axis_size = ALIGN_SIZE( num_axes * in TT_Get_MM_Var()
2115 axis_size + in TT_Get_MM_Var()
2142 (FT_Var_Named_Style*)( (char*)mmvar->axis + axis_size ); in TT_Get_MM_Var()
2390 (FT_Var_Named_Style*)( (char*)mmvar->axis+ axis_size ); in TT_Get_MM_Var()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Dreference_ops.h2947 const int axis_size = input_shape.Dims(axis); in Gather() local
2963 TFLITE_DCHECK_LT(coords_data[i], axis_size); in Gather()
2966 input_data + (outer * axis_size + coords_data[i]) * inner_size, in Gather()
3878 const int axis_size = input1_shape.Dims(axis); in ArgMinMax() local
3895 auto min_max_value = input1_data[outer * axis_size * inner_size + inner]; in ArgMinMax()
3897 for (int i = 1; i < axis_size; ++i) { in ArgMinMax()
3899 input1_data[(outer * axis_size + i) * inner_size + inner]; in ArgMinMax()