Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for WithAttr (0.1 sec)

  1. tensorflow/compiler/jit/cluster_scoping_pass_test.cc

                                             .WithAttr("dtype", DT_FLOAT)
                                             .WithAttr("value", Tensor()));
        Node* b = ops::SourceOp("Const", builder.opts()
                                             .WithName("b")
                                             .WithAttr("dtype", DT_FLOAT)
                                             .WithAttr("value", Tensor()));
        Node* unstage = ops::SourceOp(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 29 16:20:48 UTC 2020
    - 6.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/encapsulate_subgraphs_pass_test.cc

                               "_XlaRecvAtHost", opts.op_registry());
      node_builder.Input(std::move(key_input));
      return opts.WithAttr("Toutputs", dtypes)
          .WithAttr("key", key)
          .WithAttr("device_ordinal", 0)
          .WithAttr("_encapsulate", cluster)
          .WithAttr("_outside", oc_cluster)
          .FinalizeBuilder(&node_builder);
    }
    
    Node* SendFromHost(ops::NodeOut key_input, const string& cluster,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 113.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/mark_for_compilation_pass_test.cc

                                             .WithName("A")
                                             .WithAttr("dtype", DT_FLOAT)
                                             .WithAttr("value", Tensor())
                                             .WithAttr(kXlaScopeAttr, "ScopeA"));
        Node* b = ops::UnaryOp(
            "Relu", a,
            builder.opts().WithName("B").WithAttr(kXlaScopeAttr, "ScopeB"));
        ops::BinaryOp(
            "MatMul", a, b,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 10:11:10 UTC 2024
    - 79.6K bytes
    - Viewed (0)
  4. src/testing/slogtest/slogtest.go

    			hasAttr(slog.MessageKey, "msg"),
    			missingKey("a"),
    			inGroup("G", hasAttr("a", "b")),
    		},
    	},
    	{
    		name:        "multi-With",
    		explanation: withSource("a Handler should handle multiple WithGroup and WithAttr calls"),
    		f: func(l *slog.Logger) {
    			l.With("a", "b").WithGroup("G").With("c", "d").WithGroup("H").Info("msg", "e", "f")
    		},
    		checks: []check{
    			hasKey(slog.TimeKey),
    			hasKey(slog.LevelKey),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:47 UTC 2023
    - 9.8K bytes
    - Viewed (0)
Back to top