Home
last modified time | relevance | path

Searched refs:perm_array (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dresolve_transpose_attributes.cc43 const auto& perm_array = model->GetArray(op->inputs[1]); in Run() local
44 if (!perm_array.has_shape()) return ::tensorflow::Status::OK(); in Run()
46 const std::vector<int>& perm_dims = perm_array.shape().dims(); in Run()
50 perm_array.GetBuffer<ArrayDataType::kInt32>().data; in Run()
Dconvert_reorder_axes.cc77 Array& perm_array = model->GetOrCreateArray(perm_array_name); in CreateTransposeFromReorderAxes() local
78 *(perm_array.mutable_shape()->mutable_dims()) = { in CreateTransposeFromReorderAxes()
80 perm_array.data_type = ArrayDataType::kInt32; in CreateTransposeFromReorderAxes()
81 auto& perm_buffer = perm_array.GetMutableBuffer<ArrayDataType::kInt32>(); in CreateTransposeFromReorderAxes()
Dunpartition_embedding_lookup.cc200 auto& perm_array = in Run() local
202 perm_array.data_type = ArrayDataType::kInt32; in Run()
203 perm_array.mutable_shape()->ReplaceDims( in Run()
205 auto& perm_data = perm_array.GetMutableBuffer<ArrayDataType::kInt32>().data; in Run()
206 perm_data.resize(RequiredBufferSizeForShape(perm_array.shape())); in Run()
Dunroll_batch_matmul.cc187 const auto perm_array = GetTransposePerm(input_array); in TransposeInput() local
189 model, AvailableArrayName(*model, input + "/transpose/perm"), perm_array); in TransposeInput()
195 GetTransposeShape(input_array.shape(), perm_array); in TransposeInput()
Dpropagate_fixed_sizes.cc1779 auto& perm_array = model->GetArray(op->inputs[1]); in ProcessTransposeOperator() local
1780 if (!perm_array.has_shape()) { in ProcessTransposeOperator()
1784 if (!perm_array.buffer) { in ProcessTransposeOperator()
1788 CHECK(perm_array.data_type == ArrayDataType::kInt32) in ProcessTransposeOperator()
1792 perm_array.GetBuffer<ArrayDataType::kInt32>().data; in ProcessTransposeOperator()
/external/tensorflow/tensorflow/lite/toco/
Dimport_tensorflow.cc1898 string perm_array = CreateConstArray<ArrayDataType::kInt32>( in ConvertTransposeConvOperator() local
1900 transpose->inputs = {weights_name, perm_array}; in ConvertTransposeConvOperator()