Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for NodeWith (0.14 sec)

  1. tensorflow/compiler/jit/node_matchers_test.cc

      EXPECT_THAT(add.node(),
                  NodeWith(Op("Add"), Name("add"),
                           Inputs(Out(NodeWith(Name("placeholder_a"))),
                                  Out(NodeWith(Name("placeholder_b"))))));
    
      EXPECT_EQ(Explain(add.node(), NodeWith(Inputs())),
                "\nexpected 0 inputs but node has 2");
      EXPECT_EQ(
          Explain(add.node(), NodeWith(Inputs(Out(NodeWith(Name("blah"))), _))),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 14:43:57 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/build_xla_ops_pass_test.cc

      auto xla_compile = NodeWith(Op("_XlaCompile"), Attr("must_compile", false));
      auto predicated_compilation_key =
          NodeWith(Op("Switch"), Inputs(Out(0, xla_compile), Out(1, xla_compile)));
      auto xla_run =
          NodeWith(Op("_XlaRun"), Inputs(Out(1, predicated_compilation_key)));
      auto tf_call =
          NodeWith(Op("StatefulPartitionedCall"),
                   CtrlDeps(NodeWith(Op("Identity"),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/increase_dynamism_for_auto_jit_pass_test.cc

      const int64_t one_64 = 1;
    
      auto m_input = Out(NodeWith(Op("Placeholder"), Name("input")));
      auto m_begin_s64 = Out(NodeWith(
          Op("Cast"), Inputs(Out(NodeWith(Op("Placeholder"), Name("begin"))))));
      auto m_input_shape = Out(NodeWith(Op("Shape"), Inputs(m_input)));
      auto m_slice_size_0 = Out(NodeWith(
          Op("Sub"), AssignedDevice(kHostName),
          Inputs(
              Out(NodeWith(Op("Slice"), AssignedDevice(kHostName),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/node_matchers.h

    // Provides a set of matchers for tensorflow nodes.
    //
    // Example usage:
    //
    //  tensorflow::Node* node = ...;
    //  EXPECT_THAT(node, NodeWith(Name("name"), Op("op"),
    //                             Inputs(Out(3, NodeWith(Name("input"))))))
    //
    // Matchable node properties (the expressions that go inside NodeWith(...))
    // are:
    //
    //  - Name(string): matches the node name exactly.  We will probably need to
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  5. pkg/test/framework/components/echo/config/param/template.go

    		// That's all we need when looking for well-known params.
    		firstIdentifier := n.(*parse.FieldNode).Ident[0]
    		out.Insert(firstIdentifier)
    	case parse.NodeIf:
    		out.Merge(getParams(n.(*parse.IfNode).Pipe))
    	case parse.NodeWith:
    		out.Merge(getParams(n.(*parse.WithNode).Pipe))
    	case parse.NodeRange:
    		out.Merge(getParams(n.(*parse.RangeNode).Pipe))
    	case parse.NodeAction:
    		out.Merge(getParams(n.(*parse.ActionNode).Pipe))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 15 21:32:48 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  6. src/text/template/parse/node.go

    	NodeRange                      // A range action.
    	NodeString                     // A string constant.
    	NodeTemplate                   // A template invocation action.
    	NodeVariable                   // A $ variable.
    	NodeWith                       // A with action.
    	NodeComment                    // A comment.
    	NodeBreak                      // A break action.
    	NodeContinue                   // A continue action.
    )
    
    // Nodes.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/node_matchers.cc

        if (src_oidx_) {
          *os << ")";
        }
      }
    
     private:
      ::testing::Matcher<const Node*> src_matcher_;
      int src_oidx_;
    };
    }  // namespace
    
    ::testing::Matcher<const Node*> impl::NodeWith(
        absl::Span<const NodeMatcherProperties> props) {
      NodeMatcher* matcher = new NodeMatcher();
      for (const NodeMatcherProperties& prop : props) {
        if (prop.name()) {
          DCHECK(!matcher->name);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 03 16:15:20 UTC 2022
    - 16.8K bytes
    - Viewed (0)
  8. src/text/template/exec.go

    	case *parse.TemplateNode:
    		s.walkTemplate(dot, node)
    	case *parse.TextNode:
    		if _, err := s.wr.Write(node.Text); err != nil {
    			s.writeError(err)
    		}
    	case *parse.WithNode:
    		s.walkIfOrWith(parse.NodeWith, dot, node.Pipe, node.List, node.ElseList)
    	default:
    		s.errorf("unknown node: %s", node)
    	}
    }
    
    // walkIfOrWith walks an 'if' or 'with' node. The two control structures
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:22:24 UTC 2024
    - 32K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"NodePipe", Const, 0},
    		{"NodeRange", Const, 0},
    		{"NodeString", Const, 0},
    		{"NodeTemplate", Const, 0},
    		{"NodeText", Const, 0},
    		{"NodeType", Type, 0},
    		{"NodeVariable", Const, 0},
    		{"NodeWith", Const, 0},
    		{"NumberNode", Type, 0},
    		{"NumberNode.Complex128", Field, 0},
    		{"NumberNode.Float64", Field, 0},
    		{"NumberNode.Int64", Field, 0},
    		{"NumberNode.IsComplex", Field, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  10. api/go1.txt

    pkg text/template/parse, const NodeTemplate NodeType
    pkg text/template/parse, const NodeText NodeType
    pkg text/template/parse, const NodeVariable NodeType
    pkg text/template/parse, const NodeWith NodeType
    pkg text/template/parse, func IsEmptyTree(Node) bool
    pkg text/template/parse, func New(string, ...map[string]interface{}) *Tree
    pkg text/template/parse, func NewIdentifier(string) *IdentifierNode
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top