Home
last modified time | relevance | path

Searched refs:x_raw (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/c/experimental/gradients/
Dmath_grad_test.cc117 AbstractTensorHandle* x_raw = nullptr; in TEST_P() local
119 TestScalarTensorHandle(immediate_execution_ctx_.get(), 2.0f, &x_raw); in TEST_P()
121 x.reset(x_raw); in TEST_P()
144 AbstractTensorHandle* x_raw = nullptr; in TEST_P() local
146 TestScalarTensorHandle(immediate_execution_ctx_.get(), 2.0f, &x_raw); in TEST_P()
148 x.reset(x_raw); in TEST_P()
210 AbstractTensorHandle* x_raw = nullptr; in TEST_P() local
212 TestScalarTensorHandle(immediate_execution_ctx_.get(), 2.0f, &x_raw); in TEST_P()
214 x.reset(x_raw); in TEST_P()
228 AbstractTensorHandle* x_raw = nullptr; in TEST_P() local
[all …]
Dcustom_gradient_test.cc103 AbstractTensorHandle* x_raw = nullptr; in TEST_P() local
104 Status s = TestScalarTensorHandle(ctx.get(), 1.0f, &x_raw); in TEST_P()
106 x.reset(x_raw); in TEST_P()
/external/tensorflow/tensorflow/c/eager/
Dunified_api_test.cc70 AbstractTensorHandle* x_raw = nullptr; in TEST_P() local
71 Status s = TestScalarTensorHandle(ctx.get(), 2.0f, &x_raw); in TEST_P()
73 x.reset(x_raw); in TEST_P()
120 AbstractTensorHandle* x_raw = nullptr; in TEST_P() local
124 TestTensorHandleWithDimsFloat(ctx.get(), data, dim_sizes, 2, &x_raw); in TEST_P()
126 x.reset(x_raw); in TEST_P()
147 tracing::TracingTensorHandle* x_raw = nullptr; in TEST_P() local
150 DT_FLOAT, shape, &x_raw); in TEST_P()
152 x.reset(x_raw); in TEST_P()
171 tracing::TracingTensorHandle* x_raw = nullptr; in TEST_P() local
[all …]
Dgradients_test.cc121 AbstractTensorHandle* x_raw = nullptr; in TEST_P() local
122 Status s = TestScalarTensorHandle(ctx.get(), 1.0f, &x_raw); in TEST_P()
124 x1.reset(x_raw); in TEST_P()
128 AbstractTensorHandle* x_raw = nullptr; in TEST_P() local
129 Status s = TestScalarTensorHandle(ctx.get(), 1.0f, &x_raw); in TEST_P()
131 x2.reset(x_raw); in TEST_P()
169 AbstractTensorHandle* x_raw = nullptr; in TEST_P() local
170 Status s = TestScalarTensorHandle(ctx.get(), 1.0f, &x_raw); in TEST_P()
172 t.reset(x_raw); in TEST_P()
234 AbstractTensorHandle* x_raw = nullptr; in TEST_P() local
[all …]
Dgradient_checker_test.cc145 AbstractTensorHandle* x_raw = nullptr; in TEST_P() local
146 Status s = TestScalarTensorHandle(ctx_.get(), 2.0f, &x_raw); in TEST_P()
148 x.reset(x_raw); in TEST_P()
Dmnist_gradients_test.cc460 AbstractTensorHandle* x_raw = nullptr; in TEST_P() local
461 Status s = ScalarTensorHandle(ctx.get(), 1.5f, &x_raw); in TEST_P()
463 eta.reset(x_raw); in TEST_P()