- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 20 for graph_op (0.57 sec)
-
tensorflow/cc/framework/scope.cc
/* disable_shape_inference */ true)); } Scope::Impl::Impl(const Scope& other, Tags::ScopeName, const string& name, bool copy_names) : graph_(other.impl()->graph_), status_(other.impl()->status_), name_map_(copy_names ? other.impl()->name_map_ : std::shared_ptr<NameMap>(new NameMap)), refiner_(other.impl()->refiner_),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 05:57:22 UTC 2024 - 20.9K bytes - Viewed (0) -
tensorflow/c/while_loop_test.cc
EXPECT_TRUE(TF_GraphOperationByName(graph_, node_name) != nullptr); node_name = "test_loop/body/add"; EXPECT_TRUE(TF_GraphOperationByName(graph_, node_name) != nullptr); node_name = "test_loop/body/inner_loop/body/one"; EXPECT_TRUE(TF_GraphOperationByName(graph_, node_name) != nullptr); node_name = "test_loop/body/inner_loop/cond/less_than"; EXPECT_TRUE(TF_GraphOperationByName(graph_, node_name) != nullptr);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 11 06:05:56 UTC 2024 - 15.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_device_propagation.cc
if (!llvm::hasSingleElement(func)) return false; Block& block = func.front(); if (!llvm::hasSingleElement(block.without_terminator())) return false; auto graph = llvm::dyn_cast<tf_executor::GraphOp>(block.front()); if (!graph) return false; Operation* terminator = block.getTerminator(); if (graph.getNumResults() != terminator->getNumOperands()) return false;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate_registration.cc
options.client = client; options.flib_def = flib_def.get(); tensorflow::XlaCompiler compiler(options); std::unique_ptr<tensorflow::Graph> graph_copy( new tensorflow::Graph(tensorflow::OpRegistry::Global())); tensorflow::CopyGraph(*graph, graph_copy.get()); tensorflow::XlaCompiler::CompileOptions compile_options; tensorflow::XlaCompiler::CompilationResult result;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 22:19:26 UTC 2024 - 7.8K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
protected: CApiColocationTest() : s_(TF_NewStatus()), graph_(TF_NewGraph()) {} void SetUp() override { feed1_ = Placeholder(graph_, s_, "feed1"); ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); feed2_ = Placeholder(graph_, s_, "feed2"); ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); constant_ = ScalarConst(10, graph_, s_); ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 03:35:10 UTC 2024 - 96.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/analysis/resource_alias_analysis.cc
// possible. Value BacktrackAnalysis::BacktrackValue(Value value) { while (Operation* op = value.getDefiningOp()) { int res_index = mlir::cast<OpResult>(value).getResultNumber(); if (auto graph = dyn_cast<tf_executor::GraphOp>(op)) { value = graph.GetFetch().getOperand(res_index); } else if (auto island = dyn_cast<tf_executor::IslandOp>(op)) { // Control output is generated by the IslandOp, not the yield in
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 09:04:13 UTC 2024 - 28.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.cc
AddRegionSideEffectsForOp(branch_func.getBody(), op); } } else if (isa<tf_device::LaunchOp, tf_device::ClusterOp, tf_executor::IslandOp, tf_executor::GraphOp, IfRegionOp, CaseRegionOp>(op)) { for (Region& region : op->getRegions()) { AddRegionSideEffectsForOp(region, op); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 09:04:13 UTC 2024 - 41.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_validate_inputs.cc
static auto* ops = [] { llvm::SmallDenseSet<mlir::TypeID, 32>* ops_set = new llvm::SmallDenseSet<mlir::TypeID, 32>{ TypeID::get<mlir::ModuleOp>(), TypeID::get<mlir::tf_executor::GraphOp>(), TypeID::get<mlir::func::ReturnOp>(), TypeID::get<mlir::func::FuncOp>(), TypeID::get<mlir::tf_executor::YieldOp>(), TypeID::get<mlir::tf_executor::IslandOp>(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 07 06:51:01 UTC 2024 - 21.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_island_coarsening.cc
// Mark this function as being skipped in island outlining. func_op->setAttr(mlir::TF::kSkipIslandOutlining, builder.getBoolAttr(true)); continue; } func_op.walk([&](GraphOp graph) { Block& graph_body = graph.GetBody(); llvm::SmallDenseMap<llvm::StringRef, llvm::SmallDenseSet<Operation*>> cluster_to_tpu_ops_map; SmallPtrSet<Operation*, 16> visited_ops;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 27.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td
} def ExecutorIslandCoarseningPass : Pass<"tf-executor-island-coarsening", "mlir::func::FuncOp"> { let summary = "Walks tf_executor::GraphOp and merges individual tf_executor::IslandOps."; let description = [{ This pass performs whole graph analysis for a graph encapsulated into tf_executor::GraphOp. The analysis identifies all IslandOps within the graph which could be merged together. The goal is to merge as many islands as possible.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:18:05 UTC 2024 - 99.6K bytes - Viewed (0)