- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for AttrSlice (0.21 sec)
-
tensorflow/compiler/jit/extract_outside_compilation_pass_test.cc
} } EXPECT_TRUE(has_control_edge_to_send_from_host); // Verify step 7: necessary attrs added to call_node_def. NameAttrList shape_inference_graph; TF_CHECK_OK(GetNodeAttr(AttrSlice(&call_node_def.attr()), "shape_inference_graph", &shape_inference_graph)); EXPECT_EQ(shape_inference_graph.name(), "_outside_compilation_shape_inference_cluster__0"); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 41K bytes - Viewed (0) -
tensorflow/compiler/jit/rearrange_function_argument_pass_test.cc
std::unique_ptr<FunctionBody> new_fbody; TF_RETURN_IF_ERROR(FunctionDefToBodyHelper(*fld.Find(function.name()), AttrSlice(&function.attr()), &fld, &new_fbody)); *fbody = new_fbody.get(); fbodies.push_back(std::move(new_fbody)); return absl::OkStatus(); },
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Feb 09 11:36:41 UTC 2024 - 10.5K bytes - Viewed (0) -
tensorflow/compiler/jit/compilability_check_util.cc
} FunctionLibraryRuntime::Handle handle; Status s; NameAttrList function; s = NameAndAttrsFromFunctionCall(call_def, &function); if (s.ok()) { s = lib_runtime->Instantiate(function.name(), AttrSlice(&function.attr()), &handle); } if (!s.ok()) { std::string uncompilable_reason = absl::StrCat("could not instantiate call: '", function.name(), "'");
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 30.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/python/mlir.cc
tsl::Set_TF_Status_from_Status(status, s); return "// error"; } std::unique_ptr<tensorflow::FunctionBody> fbody; s = FunctionDefToBodyHelper(*fdef, tensorflow::AttrSlice(), &flib_def, &fbody); if (!s.ok()) { tsl::Set_TF_Status_from_Status(status, s); return "// error"; } mlir::DialectRegistry registry;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 18:16:49 UTC 2024 - 19.3K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_cluster_util.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 29 08:39:39 UTC 2024 - 21.3K bytes - Viewed (0) -
tensorflow/cc/framework/scope.cc
std::unordered_set<string> Scope::Impl::GetColocationConstraints( const Operation& colocate_with_op) const { std::unordered_set<string> current_constraints(colocation_constraints_); const AttrSlice attrs = colocate_with_op.node()->attrs(); std::vector<string> node_constraints; if (TryGetNodeAttr(attrs, kColocationAttrName, &node_constraints)) { for (const string& entry : node_constraints) {
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/kernels.cc
TF_Status* status) { auto* cc_ctx = reinterpret_cast<::tensorflow::OpKernelConstruction*>(ctx); const tensorflow::AttrValue* attr = ::tensorflow::AttrSlice(cc_ctx->def()).Find(attr_name); if (attr == nullptr) { status->status = absl::InvalidArgumentError( absl::StrCat("Operation '", cc_ctx->def().name(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 22:53:47 UTC 2024 - 36K bytes - Viewed (0) -
tensorflow/compiler/jit/kernels/xla_ops.cc
has_ref_vars_(has_ref_vars) {} void XlaLocalLaunchBase::ComputeAsync(OpKernelContext* ctx, DoneCallback done) { VLOG(1) << "XlaLocalLaunchOpBase::Compute " << Canonicalize(function_.name(), AttrSlice(&function_.attr())); xla_launch_counter->GetCell(platform_info_.device_type().type_string()) ->IncrementBy(1); std::vector<const Tensor*> inputs = InputsFromContext(ctx);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 22:46:36 UTC 2024 - 41.4K bytes - Viewed (0)