/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/ |
D | functional-control-flow-to-regions.mlir | 142 // CHECK: [[ToBool:%.*]] = "tf.ToBool" 143 // CHECK: "tf.IfRegion"([[ToBool]]) 244 // CHECK: [[ToBool:%.*]] = "tf.ToBool"([[Result1]]) 245 // CHECK: "tf.Yield"([[ToBool]])
|
D | functional-control-flow-to-cfg.mlir | 13 // CHECK: [[TOBOOL:%.+]] = "tf.ToBool"(%arg0) : (tensor<i1>) -> tensor<i1> 38 // CHECK: [[TOBOOL:%.+]] = "tf.ToBool"(%arg0) : (tensor<i1>) -> tensor<i1> 67 // CHECK: [[TOBOOL:%.+]] = "tf.ToBool"(%arg0) : (tensor<i1>) -> tensor<i1> 95 // CHECK: [[TOBOOL:%.+]] = "tf.ToBool"(%arg0) : (tensor<4xi1>) -> tensor<i1> 120 // CHECK: [[TOBOOL:%.+]] = "tf.ToBool"([[CONTINUE]]) : (tensor<i1>) -> tensor<i1> 144 // CHECK: [[TOBOOL:%.+]] = "tf.ToBool"([[CONTINUE]]) : (tensor<i1>) -> tensor<i1> 168 // CHECK: [[TOBOOL:%.+]] = "tf.ToBool"([[CONTINUE]]) : (tensor<i1>) -> tensor<i1> 208 // CHECK: [[TOBOOL:%.+]] = "tf.ToBool"([[CONTINUE]]) : (tensor<i1>) -> tensor<i1>
|
D | region-control-flow-to-functional.mlir | 283 // Check ToBool folding for IfRegion 293 %tobool = "tf.ToBool"(%arg0) : (tensor<i32>) -> tensor<i1> 718 // Simple trivially transformable while with ToBool 730 %cond = "tf.ToBool"(%cond_i32) : (tensor<i32>) -> tensor<i1>
|
D | canonicalize.mlir | 847 %0 = "tf.ToBool"(%arg0) : (tensor<i1>) -> tensor<i1> 856 %0 = "tf.ToBool"(%arg0) : (tensor<i32>) -> tensor<i1> 865 %0 = "tf.ToBool"(%arg0) : (tensor<f32>) -> tensor<i1> 874 %0 = "tf.ToBool"(%arg0) : (tensor<!tf.string>) -> tensor<i1> 882 %0 = "tf.ToBool"(%arg0) : (tensor<1xf32>) -> tensor<i1> 890 %0 = "tf.ToBool"(%arg0) : (tensor<0xf32>) -> tensor<i1> 898 %0 = "tf.ToBool"(%arg0) : (tensor<1x5xf32>) -> tensor<i1> 906 %0 = "tf.ToBool"(%arg0) : (tensor<1x0xf32>) -> tensor<i1>
|
D | tf-ops.mlir | 2467 // Test invalid tf.ToBool 2470 %0 = "tf.ToBool"(%arg0) : (tensor<i32>) -> tensor<1xi1>
|
/external/tensorflow/tensorflow/core/api_def/python_api/ |
D | api_def_ToBool.pbtxt | 2 graph_op_name: "ToBool"
|
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/ |
D | ToBool.pbtxt | 2 name: "ToBool"
|
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v2/ |
D | ToBool.pbtxt | 2 name: "ToBool"
|
/external/protobuf/src/google/protobuf/util/internal/ |
D | object_writer.cc | 69 ow->RenderBool(name, data.ToBool().ValueOrDie()); in RenderDataPieceTo()
|
D | datapiece.h | 146 util::StatusOr<bool> ToBool() const;
|
D | datapiece.cc | 204 StatusOr<bool> DataPiece::ToBool() const { in ToBool() function in google::protobuf::util::converter::DataPiece
|
D | default_value_objectwriter.cc | 468 ConvertTo<bool>(field.default_value(), &DataPiece::ToBool, false)); in CreateDefaultDataPieceForField()
|
D | proto_writer.cc | 245 StatusOr<bool> b = data.ToBool(); in WriteBool()
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_ToBool.pbtxt | 2 graph_op_name: "ToBool"
|
/external/tensorflow/tensorflow/core/kernels/ |
D | functional_ops.cc | 57 Status ToBool(gtl::ArraySlice<Tensor> t, bool* v) { in ToBool() function 143 OP_REQUIRES_OK(ctx, ToBool({ctx->input(0)}, &cond)); in ComputeAsync() 417 return ToBool({host_cond_t}, out_result); in CondResultToBool() 420 return ToBool({cond_t}, out_result); in CondResultToBool() 708 OP_REQUIRES_OK(ctx, ToBool({ctx->input(0)}, &b)); in Compute()
|
/external/llvm-project/clang/test/SemaCXX/ |
D | conditional-expr.cpp | 8 struct ToBool { explicit operator bool(); }; struct 76 int i1 = ToBool() ? 0 : 1; in test()
|
/external/clang/test/SemaCXX/ |
D | conditional-expr.cpp | 7 struct ToBool { explicit operator bool(); }; struct 75 int i1 = ToBool() ? 0 : 1; in test()
|
/external/tinyxml2/ |
D | tinyxml2.cpp | 613 bool XMLUtil::ToBool( const char* str, bool* value ) in ToBool() function in tinyxml2::XMLUtil 1450 if ( XMLUtil::ToBool( Value(), value )) { in QueryBoolValue() 1754 if ( XMLUtil::ToBool( t, bval ) ) { in QueryBoolText()
|
D | tinyxml2.h | 625 static bool ToBool( const char* str, bool* value );
|
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 7946 bool IsImplicitBoolFloatConversion(Sema &S, Expr *Ex, bool ToBool) { in IsImplicitBoolFloatConversion() argument 7958 dyn_cast<BuiltinType>(ToBool ? Source : Target); in IsImplicitBoolFloatConversion() 7959 const Type *BoolCandidateType = ToBool ? Target : Source; in IsImplicitBoolFloatConversion()
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/ |
D | tf_ops.td | 1194 def TF_ToBoolOp : TF_Op<"ToBool", [NoSideEffect]> {
|
/external/tensorflow/tensorflow/compiler/mlir/tosa/g3doc/ |
D | legalization.md | 3020 ### tf.ToBool
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaChecking.cpp | 11722 static bool IsImplicitBoolFloatConversion(Sema &S, Expr *Ex, bool ToBool) { in IsImplicitBoolFloatConversion() argument 11734 dyn_cast<BuiltinType>(ToBool ? Source : Target); in IsImplicitBoolFloatConversion() 11735 const Type *BoolCandidateType = ToBool ? Target : Source; in IsImplicitBoolFloatConversion()
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.raw_ops.pbtxt | 5140 name: "ToBool"
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.raw_ops.pbtxt | 5140 name: "ToBool"
|