/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
retval_op.cc | 51 auto is_constant = ctx->builder()->IsConstant(input); variable 52 if (!is_constant.ok()) { 53 ctx->SetStatus(is_constant.status()); 58 if (input_shape.num_elements() == 0 || is_constant.ValueOrDie()) {
|
/external/mesa3d/src/compiler/nir/ |
nir_search.h | 58 bool is_constant; member in struct:__anon29332 75 * constraints to be placed on the match. Typically used for 'is_constant'
|
nir_search.c | 153 if (var->is_constant && 494 assert(!var->is_constant);
|
nir_algebraic.py | 86 ${'true' if val.is_constant else 'false'}, 167 self.is_constant = m.group('const') is not None
|
/external/skia/src/core/ |
SkRasterPipelineBlitter.cpp | 29 bool is_opaque, bool is_constant); 100 is_constant = true; local 103 is_opaque, is_constant); 107 bool is_constant = shader->isConstant(); local 115 is_opaque, is_constant); 124 is_opaque, is_constant); 136 bool is_constant = false; // If this were the case, it'd be better to just set a paint color. local 138 is_opaque, is_constant); 147 bool is_constant) { 172 // to zero. We need to decide if we're going to dither now to keep is_constant accurate [all...] |
/external/skqp/src/core/ |
SkRasterPipelineBlitter.cpp | 29 bool is_opaque, bool is_constant); 100 is_constant = true; local 103 is_opaque, is_constant); 107 bool is_constant = shader->isConstant(); local 115 is_opaque, is_constant); 124 is_opaque, is_constant); 136 bool is_constant = false; // If this were the case, it'd be better to just set a paint color. local 138 is_opaque, is_constant); 147 bool is_constant) { 172 // to zero. We need to decide if we're going to dither now to keep is_constant accurate [all...] |
/external/tensorflow/tensorflow/core/ops/ |
control_flow_ops.cc | 139 .Attr("is_constant: bool = false") 150 bool is_constant; 151 TF_RETURN_IF_ERROR(c->GetAttr("is_constant", &is_constant)); 152 if (is_constant) { 166 .Attr("is_constant: bool = false")
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
control_flow_util_test.py | 54 is_constant=True).op
|
/external/skia/src/sksl/ |
SkSLCompiler.cpp | 465 bool is_constant(const Expression& expr, double value) { function in namespace:SkSL 475 if (!is_constant(c.getVecComponent(i), value)) { 702 if (is_constant(*bin->fLeft, 1)) { 714 else if (is_constant(*bin->fLeft, 0)) { 729 else if (is_constant(*bin->fRight, 1)) { 741 else if (is_constant(*bin->fRight, 0)) { 758 if (is_constant(*bin->fLeft, 0)) { 769 } else if (is_constant(*bin->fRight, 0)) { 783 if (is_constant(*bin->fRight, 0)) { 797 if (is_constant(*bin->fRight, 1)) [all...] |
/external/skqp/src/sksl/ |
SkSLCompiler.cpp | 465 bool is_constant(const Expression& expr, double value) { function in namespace:SkSL 475 if (!is_constant(c.getVecComponent(i), value)) { 702 if (is_constant(*bin->fLeft, 1)) { 714 else if (is_constant(*bin->fLeft, 0)) { 729 else if (is_constant(*bin->fRight, 1)) { 741 else if (is_constant(*bin->fRight, 0)) { 758 if (is_constant(*bin->fLeft, 0)) { 769 } else if (is_constant(*bin->fRight, 0)) { 783 if (is_constant(*bin->fRight, 0)) { 797 if (is_constant(*bin->fRight, 1)) [all...] |
/external/tensorflow/tensorflow/compiler/tf2xla/ |
xla_compiler.h | 179 bool is_constant = false; member in struct:tensorflow::XlaCompiler::OutputDescription
|
xla_op_kernel.cc | 121 xla::StatusOr<bool> is_constant = builder()->IsConstant(handle); local 122 if (!is_constant.ok()) { 123 Status status = is_constant.status(); 130 if (!is_constant.ValueOrDie()) {
|
graph_compiler.cc | 230 if (result.outputs[i].is_constant) {
|
xla_compiler_test.cc | 302 EXPECT_TRUE(result.outputs[0].is_constant); 305 EXPECT_FALSE(result.outputs[1].is_constant); 338 EXPECT_FALSE(result.outputs[0].is_constant); 339 EXPECT_FALSE(result.outputs[1].is_constant);
|
tf2xla.cc | 289 if (result.outputs[i].is_constant) {
|
xla_compiler.cc | 642 output.is_constant = true; 671 output.is_constant = false;
|
/external/tensorflow/tensorflow/compiler/xla/ |
xla.proto | 389 bool is_constant = 1;
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
radeon_optimize.c | 535 unsigned int is_constant[2] = {0, 0}; local 560 is_constant[i] = 1; 564 if (is_constant[0] && is_constant[1])
|
/external/tensorflow/tensorflow/core/grappler/utils/ |
scc_test.cc | 226 key: "is_constant"
|
/external/tensorflow/tensorflow/python/ops/ |
control_flow_grad.py | 172 grad, grad_ctxt.name, is_constant=False, 215 if op.get_attr("is_constant"):
|
control_flow_ops.py | 239 is_constant=False, 247 `is_constant` is true, `data` is a constant in the child frame; otherwise 254 is_constant: If true, the output is constant within the child frame. 266 data, frame_name, is_constant, parallel_iterations, name=name) 269 data, frame_name, is_constant, parallel_iterations, name=name) 279 is_constant, 286 is_constant, 297 is_constant, 307 is_constant, [all...] |
/external/tensorflow/tensorflow/python/framework/ |
constant_op.py | 224 def is_constant(tensor_or_op): function
|
/external/tensorflow/tensorflow/compiler/jit/kernels/ |
xla_launch_op.cc | 334 if (kernel->outputs[i].is_constant) {
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
service.cc | [all...] |
/external/tensorflow/tensorflow/core/graph/ |
graph_constructor_test.cc | 310 key: "is_constant" 551 key: "is_constant" 580 key: "is_constant" [all...] |