- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 34 for add_a (0.54 sec)
-
tensorflow/compiler/jit/mark_for_compilation_pass_test.cc
ops::Switch switch_b(root.WithOpName("switch_b"), value, cond_b); Output add_a = ops::Add(root.WithOpName("add_a"), switch_a.output_true, switch_b.output_true); Output add_b = ops::Add(root.WithOpName("add_b"), switch_a.output_true, switch_b.output_true); Output add = ops::Add(root.WithOpName("add_c"), add_a, add_b); std::unique_ptr<Graph> graph(new Graph(OpRegistry::Global()));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 14 10:11:10 UTC 2024 - 79.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/tests/insert_main_function.mlir
// Other attributes should be left untouched. // CHECK-SAME: attributes {tf.entry_function = {inputs = "add_x:0,add_y:0", outputs = "add:0"}} // Test the newly created "main" function. // CHECK: func.func @main(%[[ARG0:.*]]: tensor<1xf32> {tf_saved_model.index_path = ["add_x:0"]}, %[[ARG1:.*]]: tensor<1xf32> {tf_saved_model.index_path = ["add_y:0"]}) // CHECK-SAME: -> (tensor<1xf32> {tf_saved_model.index_path = ["add:0"]})
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 31 08:49:35 UTC 2023 - 15.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/lift_quantizable_spots_as_functions_fusion.td
[(IsNotInLiftedFunc $res), (FloatValueEquals<"0"> $cst), (IsStableHLOConstantOp $bias), (AreTheSameValue $conv_0, $conv_1), (AreTheSameValue $add_0, $add_1)], [], (addBenefit 15)>; def LiftDotGeneralWithBiasAndReluDynamic : Pat< (StableHLO_MaxOp:$res (StableHLO_AddOp:$add_0 (StableHLO_DotGeneralOp:$dot_general_0 $lhs, $rhs, $dot_dimension_numbers, $precision_config), (StableHLO_DynamicBroadcastInDimOp
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 04 07:19:09 UTC 2024 - 23.6K bytes - Viewed (0) -
tensorflow/cc/framework/scope_test.cc
namespace tensorflow { TEST(ScopeTest, BasicNames) { Scope root = Scope::NewRootScope(); EXPECT_EQ(root.GetUniqueNameForOp("add"), "add"); EXPECT_EQ(root.GetUniqueNameForOp("add"), "add_1"); EXPECT_EQ(root.GetUniqueNameForOp("add"), "add_2"); EXPECT_EQ(root.GetUniqueNameForOp("mul"), "mul"); } TEST(ScopeTest, OpAndScopeNameCollision) { Scope root = Scope::NewRootScope(); EXPECT_EQ(root.GetUniqueNameForOp("foo"), "foo");
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 08:17:37 UTC 2019 - 5.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/export_utils.cc
for (mlir::Attribute a : attr.getValue()) { if (auto attr = mlir::dyn_cast<mlir::BoolAttr>(a)) { list->add_b(attr.getValue()); } else if (auto attr = mlir::dyn_cast<mlir::IntegerAttr>(a)) { list->add_i(attr.getInt()); } else if (auto attr = mlir::dyn_cast<mlir::FloatAttr>(a)) { list->add_f(attr.getValueAsDouble()); } else if (auto attr = mlir::dyn_cast<mlir::StringAttr>(a)) { AttrValue nested_value;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 19.7K bytes - Viewed (0) -
tensorflow/c/c_api_function_test.cc
Run({{func_feed, Int32Tensor(3)}}, {{func_op, 0}, {func_op, 1}}, {5, 5}); VerifyFDef({"add_1"}, M({{"feed1"}, {"feed2"}}), M({{"add"}, {"add_0"}}), {{"feed1", "add_1:0"}, {"feed2", "add_1:1"}, {"add_1:sum:0", "add"}, {"add_1:sum:0", "add_0"}}, {}); } TEST_F(CApiFunctionTest, TwoDuplicateOutputs_OutputNames) { /*
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 20 22:08:54 UTC 2023 - 63.6K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_activity_listener_test.cc
->set_global_jit_level(OptimizerOptions::ON_2); std::unique_ptr<Session> session(NewSession(options)); TF_ASSERT_OK(session->Create(graph_def)); std::vector<std::string> output_names = {std::string("add_4:0")}; Tensor tensor_2x2(DT_FLOAT, TensorShape({2, 2})); for (int i = 0; i < 4; i++) { tensor_2x2.matrix<float>()(i / 2, i % 2) = 5 * i; } Tensor tensor_3x3(DT_FLOAT, TensorShape({3, 3}));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 5.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-input-func-arg-name-collision.pbtxt
} } } } node_def { name: "add_1" op: "Add" input: "while_loop_counter" input: "add_1/y:output:0" attr { key: "T" value { type: DT_INT32 } } } ret { key: "output" value: "add_1:z:0" } ret { key: "output_1"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Nov 11 19:14:04 UTC 2020 - 4.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/composite_op_round_trip.mlir
// CHECK-ROUNDTRIP: %0 = stablehlo.composite "stablehlo.add_n" %arg0 {composite_attributes = {test_bool = false, test_int = 2 : i64, test_string = "test"}, decomposition = @add_n.impl} : (tensor<i64>) -> tensor<i64> %0 = stablehlo.composite "stablehlo.add_n" %arg0 { composite_attributes = { test_int = 2 : i64, test_bool = 0 : i1, test_string = "test"}, decomposition = @add_n.impl } : (tensor<i64>) -> tensor<i64> return %0 : tensor<i64> }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 03:40:50 UTC 2024 - 1.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/case_op.pbtxt
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Aug 07 20:38:34 UTC 2020 - 3.9K bytes - Viewed (0)