Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for add_attrs (0.19 sec)

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

              .Input(inputs)
              .Attr("Tin", {DT_RESOURCE})
              .Attr("Tout", {DT_RESOURCE})
              .Attr("f", f_name_attr)
              .Finalize(root.graph(), &call));
      call->AddAttr(std::string(kMustCompileAttr), true);
    
      TF_ASSERT_OK(root.ToGraph(&graph));
    
      // Required for passing the PS server parameter check.
      for (Node* node : graph.nodes()) {
    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. tensorflow/compiler/jit/encapsulate_xla_computations_pass.cc

        if (args[i]->output_type(0) == DT_RESOURCE &&
            variable_start_index == num_args) {
          variable_start_index = i;
        }
        (*input_permutation)[index] = i;
        args[i]->AddAttr("index", i);
      }
      VLOG(4) << "variable_start_index: " << variable_start_index;
    
      // Computes the permutation to produce the correct retval order, and update
      // the argument indices.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  3. src/log/slog/logger.go

    	if !internal.IgnorePC {
    		var pcs [1]uintptr
    		// skip [runtime.Callers, this function, this function's caller]
    		runtime.Callers(3, pcs[:])
    		pc = pcs[0]
    	}
    	r := NewRecord(time.Now(), level, msg, pc)
    	r.AddAttrs(attrs...)
    	if ctx == nil {
    		ctx = context.Background()
    	}
    	_ = l.Handler().Handle(ctx, r)
    }
    
    // Debug calls [Logger.Debug] on the default logger.
    func Debug(msg string, args ...any) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 08 18:26:18 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. src/log/slog/doc.go

    and hidden fields that refer to state (such as attributes) indirectly. This
    means that modifying a simple copy of a Record (e.g. by calling
    [Record.Add] or [Record.AddAttrs] to add attributes)
    may have unexpected effects on the original.
    Before modifying a Record, use [Record.Clone] to
    create a copy that shares no state with the original,
    or create a new Record with [NewRecord]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 15 14:35:48 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/increase_dynamism_for_auto_jit_pass.cc

              .node();
    
      TF_RETURN_IF_ERROR(main_scope.status());
    
      std::vector<string> compile_time_const_inputs;
      compile_time_const_inputs.push_back("size");
      (*result)->AddAttr(kXlaCompileTimeConstantInputsAttr,
                         compile_time_const_inputs);
      return status;
    }
    
    void ReplaceTensorFlowSliceWithStaticShapedSlice(Graph* g, Node* slice,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/build_xla_ops_pass.cc

                                   cluster_info.function);
    
      bool has_ref_attr;
      TF_RETURN_IF_ERROR(
          GetNodeAttr(n->attrs(), kXlaHasReferenceVarsAttr, &has_ref_attr));
      xla_compile.operation.node()->AddAttr(kXlaHasReferenceVarsAttr, has_ref_attr);
      TF_RETURN_IF_ERROR(
          CopyIncomingControlEdges(g, /*from=*/n, /*to=*/xla_compile.key.node()));
    
      std::vector<Output> xla_run_args =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  7. api/go1.21.txt

    pkg log/slog, method (*Logger) Warn(string, ...interface{}) #56345
    pkg log/slog, method (*Logger) WithGroup(string) *Logger #56345
    pkg log/slog, method (*Logger) With(...interface{}) *Logger #56345
    pkg log/slog, method (*Record) AddAttrs(...Attr) #56345
    pkg log/slog, method (*Record) Add(...interface{}) #56345
    pkg log/slog, method (Record) Attrs(func(Attr) bool) #59060
    pkg log/slog, method (Record) Clone() Record #56345
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 09:39:17 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api.cc

    const TFE_OpAttrs* TFE_OpGetAttrs(const TFE_Op* op) {
      return tensorflow::wrap(tensorflow::unwrap(op)->GetOpAttrs());
    }
    
    void TFE_OpAddAttrs(TFE_Op* op, const TFE_OpAttrs* attrs) {
      tensorflow::unwrap(op)->AddAttrs(tensorflow::unwrap(attrs));
    }
    
    void TFE_OpAttrsSerialize(const TFE_OpAttrs* attrs, TF_Buffer* buf,
                              TF_Status* status) {
      tensorflow::NameAttrList name_and_attrs;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 08:11:23 UTC 2024
    - 44K bytes
    - Viewed (0)
Back to top