Home
last modified time | relevance | path

Searched refs:bias_buffer (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Didentify_lstm_merge_inputs.cc125 auto& bias_buffer = bias_array.GetMutableBuffer<ArrayDataType::kFloat>(); in Run() local
126 bias_buffer.data.resize(weights_dim1); in Run()
129 CopyArrayToSubArray(bias_buffer, weights_dim2, in Run()
132 CopyArrayToSubArray(bias_buffer, weights_dim2, in Run()
135 CopyArrayToSubArray(bias_buffer, weights_dim2, in Run()
138 CopyArrayToSubArray(bias_buffer, weights_dim2, in Run()
Densure_bias_vectors.cc71 auto& bias_buffer = bias_array.GetMutableBuffer<ArrayDataType::kFloat>(); in ProcessLinearOperator() local
72 bias_buffer.data.resize(depth, 0.f); in ProcessLinearOperator()
Dfuse_binary_into_preceding_affine.cc59 auto& bias_buffer = bias.GetMutableBuffer<ArrayDataType::kFloat>(); in FuseAddOrSubParamsIntoPrecedingAffine() local
60 float* const bias_data = bias_buffer.data.data(); in FuseAddOrSubParamsIntoPrecedingAffine()
131 auto& bias_buffer = bias.GetMutableBuffer<ArrayDataType::kFloat>(); in FuseMulOrDivParamsIntoPrecedingAffine() local
132 float* const bias_data = bias_buffer.data.data(); in FuseMulOrDivParamsIntoPrecedingAffine()
Dfuse_binary_into_following_affine.cc74 auto& bias_buffer = bias.GetMutableBuffer<ArrayDataType::kFloat>(); in FuseAddOrSubParamsIntoFollowingAffine() local
75 float* const bias_data = bias_buffer.data.data(); in FuseAddOrSubParamsIntoFollowingAffine()
/external/tensorflow/tensorflow/core/kernels/
Dgpu_utils.cc173 se::DeviceMemoryBase bias_buffer, se::DeviceMemoryBase side_input_buffer, in LogFusedConvForwardAutotuneResults() argument
194 instr.set_bias_address(reinterpret_cast<uint64>(bias_buffer.opaque())); in LogFusedConvForwardAutotuneResults()
Dgpu_utils.h233 se::DeviceMemoryBase bias_buffer, se::DeviceMemoryBase side_input_buffer,
/external/tensorflow/tensorflow/lite/tools/optimize/
Dquantize_model_test.cc653 const auto bias_buffer = model_.buffers[bias_tensor->buffer].get(); in TEST_F() local
654 ASSERT_EQ(bias_buffer->data.size(), sizeof(int32_t) * bias_tensor->shape[0]); in TEST_F()
656 reinterpret_cast<int32_t*>(bias_buffer->data.data()); in TEST_F()
762 const auto bias_buffer = model_.buffers[bias_tensor->buffer].get(); in TEST_P() local
767 ASSERT_EQ(bias_buffer->data.size(), control_size); in TEST_P()
774 int32_t* bias_values = reinterpret_cast<int32_t*>(bias_buffer->data.data()); in TEST_P()
780 int64_t* bias_values = reinterpret_cast<int64_t*>(bias_buffer->data.data()); in TEST_P()