Home
last modified time | relevance | path

Searched refs:weights_name (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Densure_bias_vectors.cc30 const std::string& weights_name = op.inputs[1]; in GetOutputDepthFromWeights() local
31 const auto& weights_shape = model.GetArray(weights_name).shape(); in GetOutputDepthFromWeights()
60 const std::string& weights_name = op->inputs[1]; in ProcessLinearOperator() local
61 if (!model->GetArray(weights_name).has_shape()) { in ProcessLinearOperator()
Dconvert_pure_conv_to_depthwise.cc55 const auto& weights_name = conv_op->inputs[1]; in Run() local
56 if (CountOpsWithInput(*model, weights_name) > 1) { in Run()
64 auto& weights_array = model->GetArray(weights_name); in Run()
Dshuffle_fc_weights.cc40 const std::string& weights_name = fc_op->inputs[1]; in Run() local
41 Array& weights_array = model->GetArray(weights_name); in Run()
109 if (CountOpsWithInput(*model, weights_name) != 1) { in Run()
Dfuse_binary_into_preceding_affine.cc116 const auto& weights_name = preceding_op->inputs[1]; in FuseMulOrDivParamsIntoPrecedingAffine() local
119 auto& weights = model->GetArray(weights_name); in FuseMulOrDivParamsIntoPrecedingAffine()
120 DropMinMax(model, weights_name); in FuseMulOrDivParamsIntoPrecedingAffine()
303 const auto& weights_name = preceding_op->inputs[1]; in Run() local
306 const auto& weights = model->GetArray(weights_name); in Run()
322 CountOpsWithInput(*model, weights_name); in Run()
Dfuse_binary_into_following_affine.cc123 const auto& weights_name = following_op->inputs[1]; in FuseMulOrDivParamsIntoFollowingAffine() local
125 auto& weights = model->GetArray(weights_name); in FuseMulOrDivParamsIntoFollowingAffine()
126 DropMinMax(model, weights_name); in FuseMulOrDivParamsIntoFollowingAffine()
/external/tensorflow/tensorflow/lite/toco/
Dimport_tensorflow.cc841 const auto& weights_name = node.input(1); in ConvertConvOperator() local
843 AvailableArrayName(*model, weights_name + "_reordered"); in ConvertConvOperator()
855 reorder->inputs = {weights_name}; in ConvertConvOperator()
924 const auto& weights_name = node.input(1); in ConvertDepthwiseConvOperator() local
925 const auto& reordered_weights_name = weights_name + "_reordered"; in ConvertDepthwiseConvOperator()
937 reorder->inputs = {weights_name}; in ConvertDepthwiseConvOperator()
2009 const std::string& weights_name = node.input(TransposeConvOperator::WEIGHTS); in ConvertTransposeConvOperator() local
2010 const std::string& transposed_weights_name = weights_name + "_transposed"; in ConvertTransposeConvOperator()
2025 transpose->inputs = {weights_name, perm_array}; in ConvertTransposeConvOperator()
Dtooling_util.cc2425 const std::string& weights_name = fc_op.inputs[1]; in UndoWeightsShuffling() local
2426 QCHECK_EQ(CountOpsWithInput(*model, weights_name), 1); in UndoWeightsShuffling()
2427 auto& weights_array = model->GetArray(weights_name); in UndoWeightsShuffling()
Dexport_tensorflow.cc1510 const std::string weights_name = WalkUpToConstantArray( in ConvertLstmCellOperator() local
1512 const auto& weights_array = model.GetArray(weights_name); in ConvertLstmCellOperator()