Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dshuffle_fc_weights.cc34 FullyConnectedOperator* fc_op = static_cast<FullyConnectedOperator*>(op); in Run() local
36 if (fc_op->weights_format != FullyConnectedWeightsFormat::kDefault) { in Run()
39 const Array& input_array = model->GetArray(fc_op->inputs[0]); in Run()
40 const string& weights_name = fc_op->inputs[1]; in Run()
42 const Array& output_array = model->GetArray(fc_op->outputs[0]); in Run()
140 fc_op->weights_format = FullyConnectedWeightsFormat::kShuffled4x16Int8; in Run()
145 CHECK_EQ(fc_op->outputs.size(), 1); in Run()
147 AvailableArrayName(*model, fc_op->inputs[0] + "_shuffled"); in Run()
148 fc_op->outputs.push_back(shuffled_input_workspace_array_name); in Run()
Dresolve_tensorflow_matmul.cc131 auto* fc_op = new FullyConnectedOperator; in Run() local
132 fc_op->outputs = matmul_op->outputs; in Run()
135 model->operators.emplace(matmul_it, fc_op) + 1; in Run()
169 LogName(*matmul_op), LogName(*fc_op)); in Run()
200 fc_op->inputs = {input_lhs, input_rhs}; in Run()
Densure_uint8_weights_safe_for_fast_int8_kernels.cc125 const auto& fc_op = static_cast<const toco::FullyConnectedOperator&>(op); in Run() local
126 CHECK(fc_op.weights_format == FullyConnectedWeightsFormat::kDefault) in Run()
/external/tensorflow/tensorflow/lite/toco/graph_transformations/tests/
Dfuse_binary_into_following_affine_test.cc87 auto* fc_op = new FullyConnectedOperator; in TEST_F() local
88 fc_op->inputs = {"MulOutput", "FCWeight", "FCBias"}; in TEST_F()
89 fc_op->outputs = {"Output"}; in TEST_F()
90 model_->operators.push_back(std::unique_ptr<Operator>(fc_op)); in TEST_F()
129 auto* fc_op = new FullyConnectedOperator; in TEST_F() local
130 fc_op->inputs = {"MulOutput", "FCWeight", "FCBias"}; in TEST_F()
131 fc_op->outputs = {"Output"}; in TEST_F()
132 model_->operators.push_back(std::unique_ptr<Operator>(fc_op)); in TEST_F()
/external/tensorflow/tensorflow/lite/toco/
Dtooling_util.cc2359 const auto& fc_op = static_cast<toco::FullyConnectedOperator&>(*op); in UndoWeightsShuffling() local
2360 if (fc_op.weights_format == FullyConnectedWeightsFormat::kDefault) { in UndoWeightsShuffling()
2363 const string& weights_name = fc_op.inputs[1]; in UndoWeightsShuffling()
/external/tensorflow/tensorflow/lite/toco/tflite/
Doperator.cc489 const auto& fc_op = in GetVersion() local
512 if (fc_op.weights_format == in GetVersion()