Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for AddInput (0.04 seconds)

  1. tensorflow/c/eager/gradients_test.cc

      if (isa<TracingOperation>(check_numerics_op.get())) {
        s = dyn_cast<TracingOperation>(check_numerics_op.get())
                ->SetOpName("check_numerics");
        ASSERT_EQ(errors::OK, s.code()) << s.message();
      }
      s = AddInput(check_numerics_op.get(), t.get(), &forward_op);
      ASSERT_EQ(errors::OK, s.code()) << s.message();
      string message = "This is the way!";
      s = SetAttrString(check_numerics_op.get(), "message", message.data(),
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 7K bytes
    - Click Count (0)
  2. tensorflow/c/eager/gradients_internal.h

    absl::Status Reset(AbstractOperation*, const char* op,
                       const char* raw_device_name, ForwardOperation*);
    
    // Records the inputs in the `ForwardOperation`.
    absl::Status AddInput(AbstractOperation*, AbstractTensorHandle*,
                          ForwardOperation*);
    absl::Status AddInputList(AbstractOperation*,
                              absl::Span<AbstractTensorHandle* const> inputs,
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 4.7K bytes
    - Click Count (0)
  3. tensorflow/c/eager/abstract_operation.h

      //
      // The value will override the previous value - that is, no "merging" of
      // existing and given constraints will be performed.
      virtual absl::Status SetDeviceName(const char* name) = 0;
    
      virtual absl::Status AddInput(AbstractTensorHandle* input) = 0;
      virtual absl::Status AddInputList(
          absl::Span<AbstractTensorHandle* const> inputs) = 0;
      virtual absl::Status Execute(absl::Span<AbstractTensorHandle*> retvals,
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 7.3K bytes
    - Click Count (0)
  4. tensorflow/c/eager/c_api_unified_experimental.cc

                             TF_AbstractTensor* const* inputs, TF_OutputList* o,
                             TF_Status* s) {
      for (int i = 0; i < num_inputs; i++) {
        tsl::Set_TF_Status_from_Status(s, unwrap(op)->AddInput(unwrap(inputs[i])));
        if (TF_GetCode(s) != TF_OK) {
          return;
        }
      }
      int num_outputs = unwrap(o)->expected_num_outputs;
      tsl::Set_TF_Status_from_Status(
          s, unwrap(op)->Execute(
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 9K bytes
    - Click Count (0)
Back to Top