Home
last modified time | relevance | path

Searched refs:assertShapeEqual (Results 1 – 25 of 61) sorted by relevance

123

/external/tensorflow/tensorflow/python/kernel_tests/
Dvariable_ops_test.py78 self.assertShapeEqual(value, var)
80 self.assertShapeEqual(value, assigned)
86 self.assertShapeEqual(value, var)
88 self.assertShapeEqual(value, assigned)
96 self.assertShapeEqual(value, assigned)
104 self.assertShapeEqual(value, assigned)
Dtranspose_op_test.py54 self.assertShapeEqual(np_ans, y)
87 self.assertShapeEqual(np_ans, y)
173 self.assertShapeEqual(np_ans, y)
194 self.assertShapeEqual(np_ans, y)
229 self.assertShapeEqual(np_ans, y)
251 self.assertShapeEqual(np_ans, y)
272 self.assertShapeEqual(np_ans, y)
324 self.assertShapeEqual(np_ans, y)
345 self.assertShapeEqual(np_ans, y)
Dshape_ops_test.py62 self.assertShapeEqual(np_ans, tf_ans)
71 self.assertShapeEqual(np_ans, tf_ans)
83 self.assertShapeEqual(np_ans, tf_ans[i])
91 self.assertShapeEqual(np_ans, tf_ans)
100 self.assertShapeEqual(np_ans, tf_ans)
111 self.assertShapeEqual(np_ans, tf_ans)
120 self.assertShapeEqual(np_ans, tf_ans)
182 self.assertShapeEqual(np_ans, tensor)
273 self.assertShapeEqual(np_ans, tensor)
286 self.assertShapeEqual(np_ans, tensor)
[all …]
Ddepthwise_conv_op_test.py186 self.assertShapeEqual(native_result, conv_native)
187 self.assertShapeEqual(native_result, conv_interface)
277 self.assertShapeEqual(value, conv)
536 self.assertShapeEqual(ret, backprop)
556 self.assertShapeEqual(ret, backprop)
588 self.assertShapeEqual(ret, backprop)
608 self.assertShapeEqual(ret, backprop)
Din_topk_op_test.py37 self.assertShapeEqual(np_ans, precision)
82 self.assertShapeEqual(np_ans, precision)
Dneon_depthwise_conv_op_test.py154 self.assertShapeEqual(native_result, conv_native)
155 self.assertShapeEqual(native_result, conv_interface)
220 self.assertShapeEqual(value, conv)
Drelu_op_test.py64 self.assertShapeEqual(np_relu, tf_relu)
87 self.assertShapeEqual(np_relu, tf_relu)
239 self.assertShapeEqual(np_relu6, tf_relu6)
299 self.assertShapeEqual(np_leaky_relu, tf_leaky_relu)
411 self.assertShapeEqual(np_elu, tf_elu)
519 self.assertShapeEqual(np_selu, tf_selu)
603 self.assertShapeEqual(np_crelu, tf_crelu)
Dfractional_max_pool_op_test.py140 self.assertShapeEqual(expected, p)
395 self.assertShapeEqual(input_backprop, fmp_input_backprop_tensor)
432 self.assertShapeEqual(input_backprop, fmp_input_backprop_tensor)
587 self.assertShapeEqual(
597 self.assertShapeEqual(
Dpad_op_test.py94 self.assertShapeEqual(np_val, tf_val)
221 self.assertShapeEqual(np_val, tf_val)
343 self.assertShapeEqual(inp, tf_val)
353 self.assertShapeEqual(inp, tf_val)
Dcwise_ops_test.py231 self.assertShapeEqual(np_ans, out)
240 self.assertShapeEqual(np_ans, out)
326 self.assertShapeEqual(np_ans, out)
473 self.assertShapeEqual(np_ans, out)
747 self.assertShapeEqual(np_inf, oinf)
748 self.assertShapeEqual(np_nan, onan)
749 self.assertShapeEqual(np_finite, ofinite)
798 self.assertShapeEqual(y, tf_rint)
809 self.assertShapeEqual(np_floor, ofloor)
810 self.assertShapeEqual(np_ceil, oceil)
[all …]
Dlrn_op_test.py94 self.assertShapeEqual(expected, lrn_t)
116 self.assertShapeEqual(expected, grad)
Dreshape_op_test.py39 self.assertShapeEqual(np_ans, tf_ans)
46 self.assertShapeEqual(np_ans, tf_ans)
Dembedding_ops_test.py265 self.assertShapeEqual(np_result, embedding)
313 self.assertShapeEqual(np_result, embedding)
337 self.assertShapeEqual(np_result, embedding)
360 self.assertShapeEqual(np_result, embedding)
383 self.assertShapeEqual(np_result, embedding)
408 self.assertShapeEqual(np_result, embedding)
434 self.assertShapeEqual(np_result, embedding)
459 self.assertShapeEqual(np_result, embedding)
Ddeterminant_op_test.py45 self.assertShapeEqual(np_ans, tf_ans)
57 self.assertShapeEqual(np_ans, abs_log_det_tf)
Dfractional_avg_pool_op_test.py140 self.assertShapeEqual(expected, p)
388 self.assertShapeEqual(input_backprop, fap_input_backprop_tensor)
429 self.assertShapeEqual(input_backprop, fap_input_backprop_tensor)
Dcompare_and_bitpack_op_test.py36 self.assertShapeEqual(truth, ans)
Dpooling_ops_test.py182 self.assertShapeEqual(actual, t)
794 self.assertShapeEqual(gpu_val, out_op)
803 self.assertShapeEqual(cpu_val, out_op)
823 self.assertShapeEqual(gpu_val, out_op)
832 self.assertShapeEqual(cpu_val, out_op)
864 self.assertShapeEqual(out, out_op)
865 self.assertShapeEqual(argmax, argmax_op)
1293 self.assertShapeEqual(actual_input_backprop, input_backprop_tensor)
Dsoftsign_op_test.py42 self.assertShapeEqual(np_softsign, softsign)
Dconstant_op_eager_test.py352 self.assertShapeEqual(np_ans, d)
353 self.assertShapeEqual(np_ans, z)
471 self.assertShapeEqual(np_ans, d)
472 self.assertShapeEqual(np_ans, z)
Ddiag_op_test.py304 self.assertShapeEqual(expected_ans, tf_ans)
305 self.assertShapeEqual(diag, tf_ans_inv)
450 self.assertShapeEqual(expected_ans, tf_ans_inv)
474 self.assertShapeEqual(expected_ans, tf_ans)
/external/tensorflow/tensorflow/contrib/sparsemax/python/kernel_tests/
Dsparsemax_test.py88 self.assertShapeEqual(p_sparemax, tf_sparsemax_op)
138 self.assertShapeEqual(p_sparemax, tf_sparsemax_op)
158 self.assertShapeEqual(p_expected, tf_sparsemax_op)
186 self.assertShapeEqual(p_expected, tf_sparsemax_op)
218 self.assertShapeEqual(z, tf_sparsemax_op)
246 self.assertShapeEqual(np_grad, sparsemax_grad_op)
Dsparsemax_loss_test.py110 self.assertShapeEqual(np_loss, tf_loss_op)
176 self.assertShapeEqual(np.zeros(test_obs), tf_loss_op)
192 self.assertShapeEqual(np.zeros(test_obs), tf_loss_op)
195 self.assertShapeEqual(q, tf_sparsemax_op)
230 self.assertShapeEqual(np_grad, loss_grad_op)
/external/tensorflow/tensorflow/python/training/
Dtraining_ops_test.py60 self.assertShapeEqual(out, apply_sgd)
82 self.assertShapeEqual(out, apply_adagrad)
108 self.assertShapeEqual(out, apply_ftrl)
166 self.assertShapeEqual(out, sparse_apply_adagrad)
204 self.assertShapeEqual(out, sparse_apply_ftrl)
297 self.assertShapeEqual(out, apply_adam)
/external/tensorflow/tensorflow/compiler/tests/
Ddepthwise_conv_op_test.py259 self.assertShapeEqual(value, conv)
337 self.assertShapeEqual(ret, backprop)
393 self.assertShapeEqual(ret, backprop)
/external/tensorflow/tensorflow/contrib/gan/python/estimator/python/
Dstargan_estimator_test.py187 self.assertShapeEqual(np.array(0), spec.loss) # must be a scalar
192 self.assertShapeEqual(np.array(0), spec.loss) # must be a scalar

123