Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for OkStatus (0.06 seconds)

  1. tensorflow/c/eager/gradients.cc

      return absl::OkStatus();
    }
    absl::Status AddInputList(AbstractOperation* op_,
                              absl::Span<AbstractTensorHandle* const> inputs,
                              ForwardOperation* forward_op_) {
      TF_RETURN_IF_ERROR(op_->AddInputList(inputs));
      for (auto input : inputs) {
        forward_op_->inputs.push_back(input);
      }
      return absl::OkStatus();
    }
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Tue Feb 24 06:18:31 GMT 2026
    - 19.6K bytes
    - Click Count (0)
  2. tensorflow/c/eager/c_api.cc

    }
    
    TF_CAPI_EXPORT extern void TFE_ContextAsyncWait(TFE_Context* ctx,
                                                    TF_Status* status) {
    #if defined(IS_MOBILE_PLATFORM)
      status->status = tensorflow::OkStatus();
    #else   // !defined(IS_MOBILE_PLATFORM)
      status->status = tensorflow::unwrap(ctx)->AsyncWait();
    #endif  // !IS_MOBILE_PLATFORM
    }
    
    void TFE_ContextSetThreadLocalDevicePlacementPolicy(
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Fri Nov 07 05:55:21 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  3. tensorflow/c/c_api_test.cc

        TF_Tensor* dst = TF_TensorFromTensor(src, &status);
        ASSERT_TRUE(status.ok()) << status.message();
    
        // Convert back to a C++ Tensor and ensure we get expected output.
        Tensor output;
        ASSERT_EQ(absl::OkStatus(), TF_TensorToTensor(dst, &output)) << line;
        ASSERT_EQ(src.NumElements(), output.NumElements()) << line;
        for (int64_t i = 0; i < src.NumElements(); ++i) {
          ASSERT_EQ(data[i], output.flat<tstring>()(i)) << line;
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 07 04:56:09 GMT 2026
    - 97.3K bytes
    - Click Count (0)
  4. RELEASE.md

    ## Deprecations
    
    *   The C++ `tensorflow::Code` and `tensorflow::Status` will become aliases of
        respectively `absl::StatusCode` and `absl::Status` in some future release.
        *   Use `tensorflow::OkStatus()` instead of `tensorflow::Status::OK()`.
        *   Stop constructing `Status` objects from `tensorflow::error::Code`.
        *   One MUST NOT access `tensorflow::errors::Code` fields. Accessing
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Mon Mar 30 18:31:38 GMT 2026
    - 746.5K bytes
    - Click Count (3)
Back to Top