Searched defs:constant_value (Results 1 - 25 of 27) sorted by relevance

12

/external/tensorflow/tensorflow/contrib/util/
H A D__init__.py20 @@constant_value
35 from tensorflow.python.framework.tensor_util import constant_value namespace
/external/tensorflow/tensorflow/compiler/tf2xla/
H A Dxla_compilation_device.h86 const Tensor& constant_value() const { return constant_value_; } function in class:tensorflow::XlaExpression
95 // If this expression is a constant with a known value, 'constant_value' is a
H A Dxla_compiler.h112 // * a constant: ignored; the shape given by constant_value is used
124 Tensor constant_value; member in struct:tensorflow::XlaCompiler::Argument
180 Tensor constant_value; member in struct:tensorflow::XlaCompiler::OutputDescription
/external/tensorflow/tensorflow/contrib/layers/python/layers/
H A Dutils.py30 'constant_value',
142 def constant_value(value_or_tensor_or_var, dtype=None): function
167 value = tensor_util.constant_value(value_or_tensor_or_var)
211 pred_value = constant_value(pred)
/external/tensorflow/tensorflow/python/layers/
H A Dutils.py208 def constant_value(pred): function
/external/python/cpython2/Modules/_sqlite/
H A Dmodule.c256 int constant_value; member in struct:_IntConstantPair
405 tmp_obj = PyInt_FromLong(_int_constants[i].constant_value);
/external/python/cpython3/Modules/_sqlite/
H A Dmodule.c262 int constant_value; member in struct:_IntConstantPair
425 tmp_obj = PyLong_FromLong(_int_constants[i].constant_value);
/external/tensorflow/tensorflow/python/framework/
H A Dtensor_util.py698 start = constant_value(tensor.op.inputs[0])
701 limit = constant_value(tensor.op.inputs[1])
704 delta = constant_value(tensor.op.inputs[2])
709 pre_cast = constant_value(tensor.op.inputs[0])
715 dim = constant_value(tensor.op.inputs[0])
720 value = constant_value(x)
726 dim = constant_value(tensor.op.inputs[-1])
731 value = constant_value(x)
747 value = constant_value(x, partial)
754 fill_value = constant_value(tenso
779 def constant_value(tensor, partial=False): # pylint: disable=invalid-name function
[all...]
/external/v8/src/compiler/
H A Djs-native-context-specialization.cc1336 Node* constant_value = jsgraph()->Constant(access_info.constant()); local
1339 constant_value);
1343 value = constant_value;
H A Dast-graph-builder.cc2801 Handle<Object> constant_value = isolate()->factory()->GlobalConstantFor(name); local
2802 if (!constant_value.is_null()) return jsgraph()->Constant(constant_value);
/external/mesa3d/src/compiler/glsl/
H A Dir.h725 * If so, constant_value contains an integer ir_constant representing the
957 ir_constant *constant_value; member in class:ir_variable
963 * This field and \c ::constant_value are distinct. Even if the two fields
H A Dast_to_hir.cpp4188 ir_constant *constant_value = rhs->constant_expression_value(); local
4189 if (!constant_value ||
4211 var->constant_value = type->qualifier.flags.q.constant
4216 rhs = constant_value;
4217 var->constant_value = type->qualifier.flags.q.constant
4218 ? constant_value : NULL;
4223 var->constant_value = type->qualifier.flags.q.constant
8148 var->constant_value = new(var) ir_constant(glsl_type::uvec3_type, &data);
/external/v8/src/crankshaft/arm/
H A Dlithium-arm.cc631 int constant_value = 0; local
636 constant_value = constant->Integer32Value() & 0x1f;
639 if (instr->representation().IsSmi() && constant_value > 0) {
648 if (op == Token::SHR && constant_value == 0) {
1427 int32_t constant_value = 0; local
1430 constant_value = constant->Integer32Value();
1433 if (!can_overflow || ((constant_value >= -1) && (constant_value <= 1))) {
1454 ? ((can_overflow && constant_value == -1) ||
1455 (bailout_on_minus_zero && constant_value <
[all...]
/external/v8/src/crankshaft/ia32/
H A Dlithium-ia32.cc663 int constant_value = 0; local
668 constant_value = constant->Integer32Value() & 0x1f;
671 if (instr->representation().IsSmi() && constant_value > 0) {
680 if (op == Token::SHR && constant_value == 0) {
1475 int constant_value = local
1482 (!right->IsConstantOperand() || constant_value <= 0));
H A Dlithium-codegen-ia32.cc2660 int constant_value = ToInteger32(LConstantOperand::cast(key)); local
2661 if (constant_value & 0xF0000000) {
2665 ((constant_value) << shift_size)
/external/v8/src/crankshaft/mips/
H A Dlithium-mips.cc638 int constant_value = 0; local
643 constant_value = constant->Integer32Value() & 0x1f;
646 if (instr->representation().IsSmi() && constant_value > 0) {
655 if (op == Token::SHR && constant_value == 0) {
1419 int32_t constant_value = 0; local
1422 constant_value = constant->Integer32Value();
1425 if (!can_overflow || ((constant_value >= -1) && (constant_value <= 1))) {
1446 ? ((can_overflow && constant_value == -1) ||
1447 (bailout_on_minus_zero && constant_value <
[all...]
/external/v8/src/crankshaft/mips64/
H A Dlithium-mips64.cc638 int constant_value = 0; local
643 constant_value = constant->Integer32Value() & 0x1f;
646 if (instr->representation().IsSmi() && constant_value > 0) {
655 if (op == Token::SHR && constant_value == 0) {
1420 int32_t constant_value = 0; local
1423 constant_value = constant->Integer32Value();
1426 if (!can_overflow || ((constant_value >= -1) && (constant_value <= 1))) {
1450 ? ((can_overflow && constant_value == -1) ||
1451 (bailout_on_minus_zero && constant_value <
[all...]
/external/v8/src/crankshaft/ppc/
H A Dlithium-ppc.cc643 int constant_value = 0; local
648 constant_value = constant->Integer32Value() & 0x1f;
651 if (instr->representation().IsSmi() && constant_value > 0) {
660 if (op == Token::SHR && constant_value == 0) {
1441 int32_t constant_value = 0; local
1444 constant_value = constant->Integer32Value();
1447 if (!can_overflow || ((constant_value >= -1) && (constant_value <= 1))) {
1468 ? ((can_overflow && constant_value == -1) ||
1469 (bailout_on_minus_zero && constant_value <
[all...]
/external/v8/src/crankshaft/s390/
H A Dlithium-s390.cc576 int constant_value = 0; local
581 constant_value = constant->Integer32Value() & 0x1f;
584 if (instr->representation().IsSmi() && constant_value > 0) {
593 if (op == Token::SHR && constant_value == 0) {
1312 int32_t constant_value = 0; local
1315 constant_value = constant->Integer32Value();
1318 if (!can_overflow || ((constant_value >= -1) && (constant_value <= 1))) {
1339 ? ((can_overflow && constant_value == -1) ||
1340 (bailout_on_minus_zero && constant_value <
[all...]
/external/v8/src/crankshaft/x64/
H A Dlithium-x64.cc656 int constant_value = 0; local
661 constant_value = constant->Integer32Value() & 0x1f;
663 constant_value > 0) {
674 if (op == Token::SHR && constant_value == 0) {
1468 int constant_value = local
1475 (!right->IsConstantOperand() || constant_value <= 0));
H A Dlithium-codegen-x64.cc2858 int32_t constant_value = ToInteger32(LConstantOperand::cast(key)); local
2859 if (constant_value & 0xF0000000) {
2863 (constant_value << shift_size) + offset);
/external/v8/src/crankshaft/x87/
H A Dlithium-x87.cc661 int constant_value = 0; local
666 constant_value = constant->Integer32Value() & 0x1f;
669 if (instr->representation().IsSmi() && constant_value > 0) {
678 if (op == Token::SHR && constant_value == 0) {
1482 int constant_value = local
1489 (!right->IsConstantOperand() || constant_value <= 0));
H A Dlithium-codegen-x87.cc2935 int constant_value = ToInteger32(LConstantOperand::cast(key)); local
2936 if (constant_value & 0xF0000000) {
2940 ((constant_value) << shift_size)
/external/v8/src/
H A Dcode-stub-assembler.cc432 int32_t constant_value; local
433 if (ToInt32Constant(value, constant_value) && Smi::IsValid(constant_value)) {
434 return SmiConstant(Smi::FromInt(constant_value));
/external/v8/src/crankshaft/
H A Dhydrogen.cc5250 Handle<Object> constant_value = local
5252 if (!constant_value.is_null()) {
5253 HConstant* instr = New<HConstant>(constant_value);

Completed in 1090 milliseconds

12