Home
last modified time | relevance | path

Searched refs:ToBool (Results 1 – 25 of 27) sorted by relevance

12

/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/
Dfunctional-control-flow-to-regions.mlir142 // CHECK: [[ToBool:%.*]] = "tf.ToBool"
143 // CHECK: "tf.IfRegion"([[ToBool]])
244 // CHECK: [[ToBool:%.*]] = "tf.ToBool"([[Result1]])
245 // CHECK: "tf.Yield"([[ToBool]])
Dfunctional-control-flow-to-cfg.mlir13 // 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>
Dregion-control-flow-to-functional.mlir283 // 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>
Dcanonicalize.mlir847 %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>
Dtf-ops.mlir2467 // Test invalid tf.ToBool
2470 %0 = "tf.ToBool"(%arg0) : (tensor<i32>) -> tensor<1xi1>
/external/tensorflow/tensorflow/core/api_def/python_api/
Dapi_def_ToBool.pbtxt2 graph_op_name: "ToBool"
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/
DToBool.pbtxt2 name: "ToBool"
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v2/
DToBool.pbtxt2 name: "ToBool"
/external/protobuf/src/google/protobuf/util/internal/
Dobject_writer.cc69 ow->RenderBool(name, data.ToBool().ValueOrDie()); in RenderDataPieceTo()
Ddatapiece.h146 util::StatusOr<bool> ToBool() const;
Ddatapiece.cc204 StatusOr<bool> DataPiece::ToBool() const { in ToBool() function in google::protobuf::util::converter::DataPiece
Ddefault_value_objectwriter.cc468 ConvertTo<bool>(field.default_value(), &DataPiece::ToBool, false)); in CreateDefaultDataPieceForField()
Dproto_writer.cc245 StatusOr<bool> b = data.ToBool(); in WriteBool()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_ToBool.pbtxt2 graph_op_name: "ToBool"
/external/tensorflow/tensorflow/core/kernels/
Dfunctional_ops.cc57 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/
Dconditional-expr.cpp8 struct ToBool { explicit operator bool(); }; struct
76 int i1 = ToBool() ? 0 : 1; in test()
/external/clang/test/SemaCXX/
Dconditional-expr.cpp7 struct ToBool { explicit operator bool(); }; struct
75 int i1 = ToBool() ? 0 : 1; in test()
/external/tinyxml2/
Dtinyxml2.cpp613 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()
Dtinyxml2.h625 static bool ToBool( const char* str, bool* value );
/external/clang/lib/Sema/
DSemaChecking.cpp7946 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/
Dtf_ops.td1194 def TF_ToBoolOp : TF_Op<"ToBool", [NoSideEffect]> {
/external/tensorflow/tensorflow/compiler/mlir/tosa/g3doc/
Dlegalization.md3020 ### tf.ToBool
/external/llvm-project/clang/lib/Sema/
DSemaChecking.cpp11722 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/
Dtensorflow.raw_ops.pbtxt5140 name: "ToBool"
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.raw_ops.pbtxt5140 name: "ToBool"

12