Home
last modified time | relevance | path

Searched refs:weight_data (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/lite/kernels/
Dfully_connected_test.cc1245 std::initializer_list<float> weight_data = { in TEST_P() local
1257 /*input=*/{TensorType_FLOAT32, {2, 10}}, weight, weight_data); in TEST_P()
1272 std::initializer_list<float> weight_data = { in TEST_P() local
1282 /*input=*/{TensorType_FLOAT32, {2, 2}}, weight, weight_data); in TEST_P()
1297 std::initializer_list<float> weight_data = { in TEST_P() local
1312 weight, weight_data); in TEST_P()
1327 std::initializer_list<float> weight_data = { in TEST_P() local
1343 /*input=*/{TensorType_FLOAT32, {2, 12}}, weight, weight_data, in TEST_P()
1360 std::initializer_list<float> weight_data = { in TEST_P() local
1376 /*input=*/{TensorType_FLOAT32, {6, 12}}, weight, weight_data, in TEST_P()
[all …]
/external/tensorflow/tensorflow/core/kernels/mkl/
Dmkl_matmul_op_fused.cc204 T* weight_data = const_cast<T*>(weight_tensor.flat<T>().data()); in Compute() local
242 weight_data = cached_weight_data; in Compute()
244 weight_mkl.SetUsrMem(weight_md, weight_data); in Compute()
247 weight_data = in Compute()
254 matmul_prim->Execute(src_data, weight_data, bias_data, dst_data, in Compute()
Dmkl_qmatmul_op.cc259 Tweight* weight_data = nullptr; in Compute() local
270 this->CacheWeight(context, matmul_fwd_pd, weight_data, in Compute()
273 weight_data = in Compute()
275 is_weight_cached = (weight_data != nullptr); in Compute()
282 weight_data = in Compute()
287 weight_data = static_cast<Tweight*>( in Compute()
296 matmul_fwd->Execute(src_data, weight_data, bias_data, dst_data, in Compute()
Dmkl_matmul_ops_common.h101 void Execute(const Tinput* src_data, const Tweight* weight_data, in Execute() argument
108 static_cast<void*>(const_cast<Tweight*>(weight_data)), *fwd_stream); in Execute()
117 static_cast<void*>(const_cast<Tweight*>(weight_data))); in Execute()
427 Tweight* weight_data, const Tensor& weight_tensor, in CacheWeight() argument
442 weight_data = static_cast<Tweight*>(weight.GetOpMem().get_data_handle()); in CacheWeight()
455 memcpy(weight_oi_t_data, weight_data, weight_size); in CacheWeight()
/external/tensorflow/tensorflow/python/keras/layers/preprocessing/
Dcategory_encoding_test.py119 weight_data = keras.Input(shape=(None,), dtype=dtypes.float32, sparse=True)
123 int_data = layer(input_data, count_weights=weight_data)
126 model = keras.Model(inputs=[input_data, weight_data], outputs=int_data)
175 weight_data = keras.Input(shape=(None,), dtype=dtypes.float32, sparse=True)
188 int_data = layer(input_data, count_weights=weight_data)
190 model = keras.Model(inputs=[input_data, weight_data], outputs=int_data)
Dindex_lookup_test.py1188 weight_data = [1, 1, 1, 1, 1]
1198 layer.set_vocabulary(vocab_data, idf_weights=weight_data)
1202 weight_data = [1, 1, 1, 1, 1] # too long
1212 layer.set_vocabulary(vocab_data, idf_weights=weight_data)
/external/tensorflow/tensorflow/compiler/xla/tests/
Dconvolution_dimension_numbers_test.cc95 auto weight_data = in XLA_TEST_F() local
127 ComputeAndCompareR4<float>(&builder, *expected_conv2, {weight_data.get()}, in XLA_TEST_F()
/external/tensorflow/tensorflow/python/keras/engine/
Dbase_layer_utils_test.py61 weight_data = {key: value for key, value in zip(weights[0], weights[1])}
62 self.assertDictEqual(table_data, weight_data)
/external/tensorflow/tensorflow/lite/micro/
Dtest_helpers.cc763 const uint8_t* weight_data = weight->data.uint8; in Invoke() local
769 output_data[0] = input_data[0] + weight_data[0]; in Invoke()