Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for NodeBuilder (0.21 sec)

  1. 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)
  2. 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)
  3. 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)
  4. tensorflow/cc/framework/scope.cc

        GraphDef graph_def;
        graph()->ToGraphDef(&graph_def);
        UpdateStatus(ConvertGraphDefToGraph(opts, std::move(graph_def), g));
      }
      return *impl()->status_;
    }
    
    void Scope::UpdateBuilder(NodeBuilder* builder) const {
      std::vector<Node*> control_inputs;
      for (const auto& op : impl()->control_deps_) {
        control_inputs.push_back(op.node());
      }
      builder->ControlInputs(control_inputs);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ConfigurationMutationIntegrationTest.groovy

            failure.assertHasCause("Cannot change dependencies of dependency configuration ':conf' after it has been included in dependency resolution.")
        }
    
        void resolvedGraph(@DelegatesTo(ResolveTestFixture.NodeBuilder) Closure closure) {
            resolve.prepare()
            succeeds ":checkDeps"
    
            resolve.expectGraph {
                root(":", "org.test:root:1.1", closure)
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 19:31:56 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  6. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildDependencyGraphIntegrationTest.groovy

        }
    
        private void checkDependenciesFails() {
            resolve.prepare()
            fails(buildA, ":checkDeps", buildArgs)
        }
    
        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 May 09 19:37:49 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/utils/export_utils.cc

      return op_name;
    }
    
    absl::StatusOr<std::unique_ptr<NodeDef>> GetOperationNodeDef(
        mlir::Operation* inst, llvm::StringRef name) {
      auto node_def = std::make_unique<NodeDef>();
      // Note: we do not use NodeBuilder or NodeDefBuilder as that would require
      // mapping back from the inputs to the input arguments.
    
      llvm::SmallString<64> op_name;
      if (IsLegacyCallInstruction(inst)) {
        // The op_name is the name of the function.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  8. tensorflow/c/c_api_experimental.cc

    #include "tensorflow/core/platform/strcat.h"
    #include "tensorflow/core/protobuf/config.pb.h"
    #include "tensorflow/core/protobuf/tensorflow_server.pb.h"
    
    using tensorflow::FunctionDef;
    using tensorflow::Node;
    using tensorflow::NodeBuilder;
    using tensorflow::Status;
    using tensorflow::errors::InvalidArgument;
    
    namespace {
    typedef std::unique_ptr<TF_Function, decltype(&TF_DeleteFunction)>
        UniqueFuncPtr;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  9. tensorflow/cc/gradients/array_grad.cc

        inputs.push_back(op.input(i));
      }
    
      auto shapes = ShapeN(scope, inputs);
      const auto unique_name = scope.GetUniqueNameForOp("ConcatOffset");
      auto builder =
          ::tensorflow::NodeBuilder(unique_name, "ConcatOffset")
              .Input(::tensorflow::ops::AsNodeOut(scope, op.input(dim_index)))
              .Input(::tensorflow::ops::AsNodeOutList(scope, shapes.output));
      scope.UpdateBuilder(&builder);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 10 23:33:32 UTC 2023
    - 31.7K bytes
    - Viewed (0)
Back to top