/external/tensorflow/tensorflow/lite/toco/graph_transformations/ |
D | resolve_constant_range.cc | 85 CHECK_EQ(RequiredBufferSizeForShape(start_array.shape()), 1) in Run() 87 CHECK_EQ(RequiredBufferSizeForShape(limit_array.shape()), 1) in Run() 89 CHECK_EQ(RequiredBufferSizeForShape(delta_array.shape()), 1) in Run()
|
D | fuse_binary_into_following_affine.cc | 52 CHECK_EQ(RequiredBufferSizeForShape(operand.shape()), 1); in FuseAddOrSubParamsIntoFollowingAffine() 82 const int weights_size = RequiredBufferSizeForShape(weights_shape); in FuseAddOrSubParamsIntoFollowingAffine() 97 const int weights_size = RequiredBufferSizeForShape(weights_shape); in FuseAddOrSubParamsIntoFollowingAffine() 132 CHECK_EQ(RequiredBufferSizeForShape(operand.shape()), 1); in FuseMulOrDivParamsIntoFollowingAffine() 139 const int weights_size = RequiredBufferSizeForShape(weights.shape()); in FuseMulOrDivParamsIntoFollowingAffine()
|
D | resolve_fake_quant_args_from_vars.cc | 56 CHECK_EQ(RequiredBufferSizeForShape(min_array.shape()), 1); in Run() 57 CHECK_EQ(RequiredBufferSizeForShape(max_array.shape()), 1); in Run()
|
D | resolve_constant_pack.cc | 34 output_data.resize(RequiredBufferSizeForShape(output_array.shape())); in Pack() 42 int input_size = RequiredBufferSizeForShape(input_array.shape()); in Pack()
|
D | resolve_constant_fill.cc | 35 data.resize(RequiredBufferSizeForShape(output_array.shape())); in ComputeFillArray() 78 CHECK_EQ(RequiredBufferSizeForShape(val_array.shape()), 1); in Run()
|
D | resolve_strided_slice_attributes.cc | 31 buffer->data.resize(RequiredBufferSizeForShape(strided_slice_shape)); in PadAttributeArray() 64 if (toco::RequiredBufferSizeForShape(start_array.shape()) > 4) { in Run()
|
D | resolve_batch_normalization.cc | 102 data.resize(RequiredBufferSizeForShape(mean_shape), data[0]); in Run() 107 const int buffer_size = RequiredBufferSizeForShape(param_shape); in Run()
|
D | identify_util.cc | 33 RequiredBufferSizeForShape(op_array.shape()) != 1) { in CheckArrayIsScalarFloat()
|
D | resolve_constant_random_uniform.cc | 39 data.resize(RequiredBufferSizeForShape(output_array.shape())); in ComputeRandomUniformArray()
|
D | convert_expanddims_to_reshape.cc | 52 CHECK_EQ(RequiredBufferSizeForShape(axis_array.shape()), 1); in Run()
|
D | lstm_utils.cc | 50 buffer->data.resize(RequiredBufferSizeForShape(shape)); in CreateFloatArrayBuffer()
|
D | propagate_fixed_sizes.cc | 361 CHECK_LE(RequiredBufferSizeForShape(dims_array.shape()), 6) in ProcessOpWithShapeInput() 388 const int input_overall_size = RequiredBufferSizeForShape(input_shape); in ProcessFullyConnectedOperator() 444 const int input_flat_size = RequiredBufferSizeForShape(input_shape); in ProcessTensorFlowReshapeOperator() 460 CHECK_EQ(input_flat_size, RequiredBufferSizeForShape(output_shape)) in ProcessTensorFlowReshapeOperator() 733 CHECK_EQ(RequiredBufferSizeForShape(start_array.shape()), 1) in ProcessRangeOperator() 735 CHECK_EQ(RequiredBufferSizeForShape(limit_array.shape()), 1) in ProcessRangeOperator() 737 CHECK_EQ(RequiredBufferSizeForShape(delta_array.shape()), 1) in ProcessRangeOperator() 782 CHECK_EQ(RequiredBufferSizeForShape(axis_array.shape()), 1) in ProcessTensorFlowSplitOperator() 852 CHECK_EQ(RequiredBufferSizeForShape(axis_array.shape()), 1) in ProcessTensorFlowSplitVOperator() 1846 CHECK_EQ(RequiredBufferSizeForShape(axis_array.shape()), 1) in ProcessArgMinMaxOperator() [all …]
|
D | resolve_reorder_axes.cc | 63 output_data.resize(RequiredBufferSizeForShape(output_array->shape())); in ReorderAxes()
|
D | identify_l2_normalization.cc | 79 if (RequiredBufferSizeForShape(input_array.shape()) != 1) { in Run()
|
D | resolve_constant_unary.cc | 212 const int output_buffer_size = RequiredBufferSizeForShape(output_shape); in Run() 218 const int input_buffer_size = RequiredBufferSizeForShape(input_shape); in Run()
|
D | resolve_multiply_by_zero.cc | 43 data.resize(RequiredBufferSizeForShape(array->shape())); in FillArrayWithZeros()
|
D | resolve_constant_gather.cc | 40 output_data.resize(RequiredBufferSizeForShape(output_shape)); in Gather()
|
D | resolve_constant_strided_slice.cc | 48 output_data.resize(RequiredBufferSizeForShape(output_array->shape())); in StridedSlice()
|
D | resolve_constant_slice.cc | 38 output_data.resize(RequiredBufferSizeForShape(output_array->shape())); in Slice()
|
D | resolve_constant_tile.cc | 77 output_data.resize(RequiredBufferSizeForShape(output_array->shape())); in Tile()
|
D | resolve_constant_transpose.cc | 38 output_data.resize(RequiredBufferSizeForShape(output_shape)); in Transpose()
|
D | unpartition_embedding_lookup.cc | 208 perm_data.resize(RequiredBufferSizeForShape(perm_array.shape())); in Run()
|
D | resolve_constant_binary.cc | 93 const int output_buffer_size = RequiredBufferSizeForShape(output_shape); in EvaluateBinaryOperatorOnConstantInputs()
|
/external/tensorflow/tensorflow/lite/toco/ |
D | tooling_util.h | 147 int RequiredBufferSizeForShape(const Shape& shape); 179 int source_buffer_size = RequiredBufferSizeForShape(source_array.shape()); 180 int target_buffer_size = RequiredBufferSizeForShape(target_array->shape()); 233 DCHECK_LT(index, RequiredBufferSizeForShape(shape));
|
D | tooling_util.cc | 755 int RequiredBufferSizeForShape(const Shape& shape) { in RequiredBufferSizeForShape() function 1070 RequiredBufferSizeForShape(array->shape())) in CheckEachArray() 1890 param_array_data.resize(RequiredBufferSizeForShape(param_array.shape())); in CreateInt32Array() 1913 2 * RequiredBufferSizeForShape(weights_array.shape()); in EstimateArithmeticOpsCount() 1917 *result += RequiredBufferSizeForShape(output_array.shape()); in EstimateArithmeticOpsCount() 1948 *result = RequiredBufferSizeForShape(output_array.shape()); in EstimateArithmeticOpsCount() 1958 *result = num_adds * RequiredBufferSizeForShape(output_array.shape()); in EstimateArithmeticOpsCount() 1973 *result = 64 * RequiredBufferSizeForShape(output_array.shape()); in EstimateArithmeticOpsCount() 1982 *result = RequiredBufferSizeForShape(output_array.shape()) * in EstimateArithmeticOpsCount() 1992 *result = RequiredBufferSizeForShape(output_array.shape()) * in EstimateArithmeticOpsCount() [all …]
|