/external/tensorflow/tensorflow/python/kernel_tests/ |
D | sparse_reshape_op_test.py | 87 output_val = self.evaluate(sp_output) 88 self.assertAllEqual(output_val.indices, input_val.indices) 89 self.assertAllEqual(output_val.values, input_val.values) 90 self.assertAllEqual(output_val.dense_shape, input_val.dense_shape) 99 output_val = sess.run(sp_output, {sp_input: input_val}) 100 self.assertAllEqual(output_val.indices, input_val.indices) 101 self.assertAllEqual(output_val.values, input_val.values) 102 self.assertAllEqual(output_val.dense_shape, input_val.dense_shape) 112 output_val = sess.run(sp_output, {sp_input: input_val}) 113 self.assertAllEqual(output_val.indices, input_val.indices) [all …]
|
D | sparse_reorder_op_test.py | 64 output_val = self.evaluate(sp_output) 65 self.assertAllEqual(output_val.indices, input_val.indices) 66 self.assertAllEqual(output_val.values, input_val.values) 67 self.assertAllEqual(output_val.dense_shape, input_val.dense_shape) 76 output_val = sess.run(sp_output, {sp_input: input_val}) 77 self.assertAllEqual(output_val.indices, input_val.indices) 78 self.assertAllEqual(output_val.values, input_val.values) 79 self.assertAllEqual(output_val.dense_shape, input_val.dense_shape) 88 output_val = self.evaluate(sp_output) 89 self.assertAllEqual(output_val.indices, expected_output_val.indices) [all …]
|
/external/tensorflow/tensorflow/python/grappler/ |
D | layout_optimizer_test.py | 269 output_val = sess.run(output, run_metadata=metadata) 285 self.assertAllClose(output_val_ref, output_val, atol=1e-3) 307 output_val = sess.run(output, run_metadata=metadata, feed_dict={dim: 3}) 321 self.assertAllClose(output_val_ref, output_val, atol=1e-3) 340 output_val = sess.run(output, run_metadata=metadata, feed_dict={dim: 3}) 356 self.assertAllClose(output_val_ref, output_val, atol=1e-3) 375 output_val = sess.run(output, run_metadata=metadata) 391 self.assertAllClose(output_val_ref, output_val, atol=1e-3) 407 output_val = sess.run(output, run_metadata=metadata) 421 self.assertAllClose(output_val_ref, output_val, atol=1e-3) [all …]
|
/external/tensorflow/tensorflow/python/ops/ |
D | sparse_ops.py | 331 output_ind, output_val, output_shape = ( 334 return sparse_tensor.SparseTensor(output_ind, output_val, output_shape) 468 output_ind, output_val, output_shape = ( 480 return sparse_tensor.SparseTensor(output_ind, output_val, output_shape) 1085 output_ind, output_val, output_shape = ( 1091 return sparse_tensor.SparseTensor(output_ind, output_val, output_shape) 1213 output_ind, output_val, output_shape = ( 1218 return sparse_tensor.SparseTensor(output_ind, output_val, output_shape) 1275 output_ind, output_val, output_shape = ( 1280 return sparse_tensor.SparseTensor(output_ind, output_val, output_shape) [all …]
|
/external/tensorflow/tensorflow/python/ops/parallel_for/ |
D | control_flow_ops_test.py | 119 output_val, ans_val = self.evaluate([output, ans]) 120 self.assertAllClose(ans_val, output_val) 131 output_val, ans_val = self.evaluate([output, ans]) 132 self.assertAllClose(ans_val, output_val) 143 output_val, ans_val = self.evaluate([output, ans]) 144 self.assertAllClose(ans_val, output_val) 160 output_val, ans_val = self.evaluate([output, ans]) 161 self.assertAllClose(ans_val, output_val) 174 output_val, ans_val = self.evaluate([output, ans]) 175 self.assertAllClose(ans_val, output_val)
|
/external/tensorflow/tensorflow/lite/kernels/internal/reference/ |
D | reference_ops.h | 518 int32 output_val = std::min(255, std::max(0, unclamped_output_val)); in L2Normalization() local 519 output_data[depth * i + c] = static_cast<uint8>(output_val); in L2Normalization() 2721 uint8 output_val; in Logistic() local 2723 output_val = 0; in Logistic() 2725 output_val = 255; in Logistic() 2743 output_val = static_cast<uint8>(output_val_s32); in Logistic() 2745 output_data[i] = output_val; in Logistic() 2802 uint8 output_val; in Tanh() local 2804 output_val = 0; in Tanh() 2806 output_val = 255; in Tanh() [all …]
|
/external/tensorflow/tensorflow/python/keras/engine/ |
D | topology_test.py | 808 output_val = m.predict(x_val) 817 self.assertAllClose(output_val, output_val_2, atol=1e-6) 836 output_val = m.predict(x_val) 845 self.assertAllClose(output_val, output_val_2, atol=1e-6)
|
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/ |
D | optimized_ops.h | 2615 int32 output_val = std::min(255, std::max(0, unclamped_output_val)); in L2Normalization() local 2616 *output_data = static_cast<uint8>(output_val); in L2Normalization() 4921 uint8 output_val; in Logistic() local 4923 output_val = 0; in Logistic() 4925 output_val = 255; in Logistic() 4941 output_val = static_cast<uint8>(output_val_s32); in Logistic() 4943 output_data[c] = output_val; in Logistic() 5148 uint8 output_val; in Tanh() local 5150 output_val = 0; in Tanh() 5152 output_val = 255; in Tanh() [all …]
|
/external/tensorflow/tensorflow/contrib/lite/kernels/internal/optimized/ |
D | optimized_ops.h | 2832 int32 output_val = std::min(255, std::max(0, unclamped_output_val)); in L2Normalization() local 2833 *output_data = static_cast<uint8>(output_val); in L2Normalization() 5198 uint8 output_val; in Logistic() local 5200 output_val = 0; in Logistic() 5202 output_val = 255; in Logistic() 5218 output_val = static_cast<uint8>(output_val_s32); in Logistic() 5220 output_data[c] = output_val; in Logistic() 5457 uint8 output_val; in Tanh() local 5459 output_val = 0; in Tanh() 5461 output_val = 255; in Tanh() [all …]
|
/external/tensorflow/tensorflow/python/framework/ |
D | function_test.py | 919 output_val = sess.run( 921 self.assertEqual(output_val.shape, (32, 100))
|
/external/tensorflow/tensorflow/python/feature_column/ |
D | feature_column_test.py | 1055 output_val = self.evaluate(output) 1057 [[0, 0], [0, 1], [1, 0], [1, 1], [1, 2], [1, 3]], output_val.indices) 1058 for val in output_val.values: 1060 self.assertAllEqual([2, 4], output_val.dense_shape)
|
D | feature_column_v2_test.py | 1237 output_val = self.evaluate(output) 1239 output_val.indices) 1240 for val in output_val.values: 1242 self.assertAllEqual([2, 4], output_val.dense_shape)
|