- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for GetCompositeOpScopes (0.17 sec)
-
tensorflow/cc/framework/cc_ops_test.cc
#include "tensorflow/core/lib/core/status_test_util.h" namespace tensorflow { namespace ops { namespace { Output Linear(const Scope& scope, Input x, Input w, Input b) { auto cop_scopes = scope.GetCompositeOpScopes("linear"); auto m = MatMul(cop_scopes.child, x, w); return BiasAdd(cop_scopes.last, m, b); } void GetColocationConstraints(const Output& tensor,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 15 15:13:38 UTC 2023 - 8.7K bytes - Viewed (0) -
tensorflow/cc/framework/scope.h
/// status(). // TODO(skyewm): NodeBuilder is not part of public API void UpdateBuilder(NodeBuilder* builder) const; // END_SKIP_DOXYGEN CompositeOpScopes GetCompositeOpScopes(const string& composite_op_name) const; bool ok() const; // TODO(skyewm): Graph is not part of public API Graph* graph() const; // TODO(skyewm): Graph is not part of public API
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 09:08:33 UTC 2024 - 10.5K bytes - Viewed (0) -
tensorflow/cc/framework/scope.cc
} Scope Scope::WithKernelLabel(const string& kernel_label) const { return Scope(new Impl(*this, Impl::Tags::KernelLabel(), kernel_label)); } CompositeOpScopes Scope::GetCompositeOpScopes( const string& composite_op_name) const { if (impl()->op_name_.empty() && composite_op_name.empty()) { UpdateStatus(errors::InvalidArgument( "Cannot create composite op scopes with empty name"));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 05:57:22 UTC 2024 - 20.9K bytes - Viewed (0)