Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for node_builder1 (0.17 sec)

  1. tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util_test.cc

      Scope root = Scope::NewRootScope().ExitOnError();
    
      Output a = ops::_Arg(root.WithOpName("A"), DT_RESOURCE, 0);
      std::vector<NodeBuilder::NodeOut> inputs({NodeBuilder::NodeOut(a.node())});
    
      Node* call;
      NameAttrList f_name_attr;
      f_name_attr.set_name(fd.signature().name());
      TF_ASSERT_OK(
          NodeBuilder("B", "StatefulPartitionedCall", &root.graph()->flib_def())
              .Input(inputs)
              .Attr("Tin", {DT_RESOURCE})
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 19:51:50 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/resolve/ResolveTestFixture.groovy

            }
        }
    
        static class GraphBuilder {
            private final Map<String, NodeBuilder> nodes = [:]
            private NodeBuilder root
    
            final Set<String> virtualConfigurations = []
    
            Collection<NodeBuilder> getNodes() {
                return nodes.values()
            }
    
            Collection<NodeBuilder> getNodesWithoutRoot() {
                def nodes = new HashSet<>()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 37.8K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_unified_experimental_graph.cc

        tensorflow::StringPiece s(data, length);
        op_->node_builder.Attr(attr_name, s);
        return absl::OkStatus();
      }
      Status SetAttrInt(const char* attr_name, int64_t value) override {
        op_->node_builder.Attr(attr_name, static_cast<int64_t>(value));
        return absl::OkStatus();
      }
      Status SetAttrFloat(const char* attr_name, float value) override {
        op_->node_builder.Attr(attr_name, value);
        return absl::OkStatus();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 20:00:09 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/compilability_check_util_test.cc

      auto predicate = ops::Placeholder(root.WithOpName("pred"), DT_BOOL);
      auto placeholder = ops::Placeholder(root.WithOpName("A"), DT_INT32);
      std::vector<NodeBuilder::NodeOut> if_inputs(
          {NodeBuilder::NodeOut(placeholder.node())});
      Node* if_node;
      TF_ASSERT_OK(
          NodeBuilder(kFunctionalIfNodeName, "If", &root.graph()->flib_def())
              .Input(predicate.node())
              .Input(if_inputs)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 10 12:32:39 UTC 2022
    - 22.3K bytes
    - Viewed (0)
  5. tensorflow/cc/framework/scope.cc

    #include <vector>
    
    #include "tensorflow/cc/framework/scope_internal.h"
    #include "tensorflow/core/common_runtime/shape_refiner.h"
    #include "tensorflow/core/framework/node_def_util.h"
    #include "tensorflow/core/graph/node_builder.h"
    #include "tensorflow/core/lib/strings/str_util.h"
    
    namespace tensorflow {
    
    Scope::Scope(Impl* impl) : impl_(impl) {}
    
    Scope::Scope(const Scope& other) : impl_(new Impl(*other.impl())) {}
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  6. tensorflow/cc/framework/scope.h

      // START_SKIP_DOXYGEN
    
      /// Update the builder with properties accumulated in this scope. Does not set
      /// 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;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 09:08:33 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  7. tensorflow/c/c_api_experimental.cc

    #include "tensorflow/core/framework/node_def.pb.h"
    #include "tensorflow/core/framework/shape_inference.h"
    #include "tensorflow/core/framework/tensor.pb.h"
    #include "tensorflow/core/graph/graph.h"
    #include "tensorflow/core/graph/node_builder.h"
    #include "tensorflow/core/platform/blocking_counter.h"
    #include "tensorflow/core/platform/casts.h"
    #include "tensorflow/core/platform/env.h"
    #include "tensorflow/core/platform/init_main.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  8. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildDependencyCycleIntegrationTest.groovy

        }
    
        protected void resolveFails(String task) {
            resolve.prepare()
            super.fails(buildA, task, arguments)
        }
    
    
        void checkGraph(@DelegatesTo(ResolveTestFixture.NodeBuilder) Closure closure) {
            resolve.expectGraph {
                root(":", "org.test:buildA:1.0", closure)
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 01 20:36:42 UTC 2022
    - 12.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/encapsulate_util.cc

    #include "absl/types/optional.h"
    #include "tensorflow/compiler/jit/shape_inference.h"
    #include "tensorflow/compiler/tf2xla/tf2xla_util.h"
    #include "tensorflow/core/framework/node_def_util.h"
    #include "tensorflow/core/graph/node_builder.h"
    #include "tensorflow/core/protobuf/error_codes.pb.h"
    
    using tsl::StatusOr;
    
    namespace tensorflow {
    
    namespace {
    
    // Returns string attribute value for the node if the attribute is present,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  10. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildDeclaredSubstitutionsIntegrationTest.groovy

                    id("foo")
                }
            """)
    
            then:
            execute(buildA, ":buildC:dependencies")
        }
    
        void resolvedGraph(@DelegatesTo(ResolveTestFixture.NodeBuilder) Closure closure) {
            resolve.prepare()
            execute(buildA, ":checkDeps", buildArgs)
            resolve.expectGraph {
                root(":", "org.test:buildA:1.0", closure)
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 01 20:36:42 UTC 2022
    - 14.4K bytes
    - Viewed (0)
Back to top