Home
last modified time | relevance | path

Searched refs:copy_shape (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dpropagate_fixed_sizes.cc159 im2col_array.copy_shape(Shape{output_shape.dims(0), output_shape.dims(1), in ProcessConvOperator()
247 im2col_array.copy_shape( in ProcessTransposeConvOperator()
314 .copy_shape(Shape({batch, height * block_size, width * block_size, in ProcessDepthToSpaceOperator()
338 .copy_shape(Shape({batch, height / block_size, width / block_size, in ProcessSpaceToDepthOperator()
392 output_array.copy_shape(Shape({matmul_repeats, weights_output_depth})); in ProcessFullyConnectedOperator()
478 output_array.copy_shape(input_array.shape()); in ProcessSimpleOperator()
507 output_array.copy_shape(input1_array.shape()); in ProcessSelectOperator()
529 output_array.copy_shape(input0_array.shape()); in ProcessAddNOperator()
603 output_array.copy_shape(input_shape); in ProcessTensorFlowReductionOperator()
605 output_array.copy_shape(Shape({})); in ProcessTensorFlowReductionOperator()
[all …]
Dresolve_batch_normalization.cc110 mul_param_array.copy_shape(param_shape); in Run()
111 add_param_array.copy_shape(param_shape); in Run()
Didentify_lstm_merge_inputs.cc83 array.copy_shape(shape); in Run()
123 bias_array.copy_shape(Shape({weights_dim1})); in Run()
Dlstm_utils.cc47 array.copy_shape(shape); in CreateFloatArrayBuffer()
Dresolve_strided_slice_attributes.cc28 attribute_array->copy_shape(strided_slice_shape); in PadAttributeArray()
Ddequantize.cc158 new_array.copy_shape(array->shape()); in DequantizeArray()
/external/tensorflow/tensorflow/contrib/graph_editor/
Dtransform.py131 def copy_op_handler(info, op, new_inputs, copy_shape=False, nodedef_fn=None): argument
179 if copy_shape:
/external/tensorflow/tensorflow/compiler/xla/service/
Dcopy_insertion_test.cc139 Shape copy_shape = constant->shape(); in TEST_F() local
140 *copy_shape.mutable_layout() = reversed_layout; in TEST_F()
142 HloInstruction::CreateUnary(copy_shape, HloOpcode::kCopy, constant)); in TEST_F()
144 HloInstruction::CreateUnary(copy_shape, HloOpcode::kCopy, constant)); in TEST_F()
/external/tensorflow/tensorflow/lite/toco/
Dmodel.h2181 void copy_shape(const Shape& src_shape) { *mutable_shape() = src_shape; }
Dtooling_util.cc1333 target_array->copy_shape(source_array.shape()); in CopyArrayAttribs()
1399 target_array.copy_shape(source_array.shape()); in CloneArray()
Dexport_tensorflow.cc2493 wrapped_array.copy_shape(array.shape()); in EncodeConstantArraysMinMaxByWrappingThemInFakeQuantNodes()
/external/python/cpython3/Objects/
Dmemoryobject.c1239 copy_shape(Py_ssize_t *shape, const PyObject *seq, Py_ssize_t ndim, in copy_shape() function
1296 len = copy_shape(view->shape, shape, ndim, view->itemsize); in cast_to_ND()