Home
last modified time | relevance | path

Searched refs:weights_buffer (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dconvert_pure_conv_to_depthwise.cc102 auto& weights_buffer = in Run() local
104 const std::vector<float>& conv_weights_data = weights_buffer.data; in Run()
117 weights_buffer.data = depthwise_conv_weights_data; in Run()
Dfuse_binary_into_following_affine.cc72 const auto& weights_buffer = weights.GetBuffer<ArrayDataType::kFloat>(); in FuseAddOrSubParamsIntoFollowingAffine() local
73 const float* const weights_data = weights_buffer.data.data(); in FuseAddOrSubParamsIntoFollowingAffine()
Dfuse_binary_into_preceding_affine.cc115 auto& weights_buffer = weights.GetMutableBuffer<ArrayDataType::kFloat>(); in FuseMulOrDivParamsIntoPrecedingAffine() local
116 float* const weights_data = weights_buffer.data.data(); in FuseMulOrDivParamsIntoPrecedingAffine()
/external/tensorflow/tensorflow/lite/tools/optimize/
Dsubgraph_quantizer_test.cc139 const auto weights_buffer = model.buffers[weights_tensor->buffer].get(); in TEST() local
143 reinterpret_cast<int8_t*>(weights_buffer->data.data()); in TEST()
146 ASSERT_EQ(sizeof(float) * weights_buffer->data.size(), in TEST()
148 int num_values_in_channel = weights_buffer->data.size() / out_channel_size; in TEST()
232 const auto weights_buffer = model.buffers[weights_tensor->buffer].get(); in TEST() local
236 reinterpret_cast<int8_t*>(weights_buffer->data.data()); in TEST()
239 ASSERT_EQ(sizeof(float) * weights_buffer->data.size(), in TEST()
241 int num_values_in_channel = weights_buffer->data.size() / out_channel_size; in TEST()