Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 101 for stats (0.18 sec)

  1. tensorflow/c/experimental/next_pluggable_device/tensor_pjrt_buffer_util.cc

      }
      return pjrt_c_api_client;
    }
    
    absl::Status ResetPjRtClient(const DeviceType& device_type) {
      ResourceMgr* rmgr = tfrt_global::GetTFGlobalResourceMgr();
      PjRtState* pjrt_state;
      TF_RETURN_IF_ERROR(rmgr->Lookup(rmgr->default_container(),
                                      kPjRtStateResourceName, &pjrt_state));
      TF_RETURN_IF_ERROR(pjrt_state->MovePjRtClientToUnused(device_type));
      return absl::OkStatus();
    }
    
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Mon Oct 30 19:20:20 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  2. tensorflow/c/eager/gradients_internal.h

    Status SetAttrFloat(AbstractOperation*, const char* attr_name, float value,
                        ForwardOperation*);
    Status SetAttrBool(AbstractOperation*, const char* attr_name, bool value,
                       ForwardOperation*);
    Status SetAttrType(AbstractOperation*, const char* attr_name, DataType value,
                       ForwardOperation*);
    Status SetAttrShape(AbstractOperation*, const char* attr_name,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:27:35 GMT 2021
    - 4.2K bytes
    - Viewed (0)
  3. tensorflow/c/eager/gradients.h

    //   // forward `op`.
    //   return new AddGradientFunction;
    // }
    //
    // Status RegisterGradients(GradientRegistry* registry) {
    //   return registry->Register("Add", AddRegisterer);
    // }
    class GradientFunction {
     public:
      virtual Status Compute(AbstractContext* ctx,
                             absl::Span<AbstractTensorHandle* const> grad_outputs,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 26 10:27:05 GMT 2022
    - 6.9K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_test_util.cc

      TF_DeleteStatus(status);
    
      return var_handle;
    }
    
    TFE_Op* AddOp(TFE_Context* ctx, TFE_TensorHandle* a, TFE_TensorHandle* b) {
      TF_Status* status = TF_NewStatus();
    
      TFE_Op* op = TFE_NewOp(ctx, "AddV2", status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TFE_OpAddInput(op, a, status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TFE_OpAddInput(op, b, status);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 23.5K bytes
    - Viewed (2)
  5. tensorflow/c/eager/c_api_unified_experimental_internal.h

     public:
      // Add a function parameter and return the corresponding tensor.
      virtual Status AddParameter(DataType dtype, const PartialTensorShape& shape,
                                  TracingTensorHandle**) = 0;
    
      // Finalize this context and make a function out of it. The context is in a
      // invalid state after this call and must be destroyed.
      virtual Status Finalize(OutputList* outputs, AbstractFunction**) = 0;
    
      // For LLVM style RTTI.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Nov 13 22:20:40 GMT 2020
    - 5.2K bytes
    - Viewed (0)
  6. tensorflow/c/c_api.cc

                                                  TF_Status* status) {
      Session* session;
      status->status = NewSession(opt->options, &session);
      if (status->status.ok()) {
        return new TF_DeprecatedSession({session});
      } else {
        DCHECK_EQ(nullptr, session);
        return nullptr;
      }
    }
    
    void TF_CloseDeprecatedSession(TF_DeprecatedSession* s, TF_Status* status) {
      status->status = s->session->Close();
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api.cc

      if (h == nullptr) {
        status->status = tensorflow::errors::InvalidArgument("Invalid handle");
        return nullptr;
      }
      return tensorflow::unwrap(h)->BackingDeviceName(&status->status);
    }
    
    TF_CAPI_EXPORT extern TFE_TensorHandle* TFE_TensorHandleCopySharingTensor(
        TFE_TensorHandle* h, TF_Status* status) {
      if (h == nullptr) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
  8. tensorflow/c/eager/c_api_remote_test_util.cc

                                  status);
        CHECK_EQ(TF_GetCode(status), TF_OK) << TF_Message(status);
    
        matmul = TFE_NewOp(ctx, "MatMulFunction", status);
        ASSERT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status);
        TFE_OpAddInput(matmul, h0_task0, status);
        ASSERT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Dec 11 22:56:03 GMT 2020
    - 9.1K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_experimental_test.cc

      ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
      EXPECT_EQ(assign, 1);
      int id = TF_OpIsStateful("Identity", status.get());
      ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
      EXPECT_EQ(id, 0);
    }
    
    class ShapeInferenceTest : public ::testing::Test {
     protected:
      ShapeInferenceTest()
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jan 17 22:27:52 GMT 2023
    - 13.1K bytes
    - Viewed (1)
  10. tensorflow/c/experimental/next_pluggable_device/c_api.h

                                                    TF_Status* status);
    
    TF_CAPI_EXPORT extern void TF_AllocateTempForVariableInfo(
        TF_OpKernelContext* ctx, TF_VariableInfo* var_info, TF_Status* status);
    
    TF_CAPI_EXPORT extern TF_Tensor* TF_GetTensorFromVariableInfo(
        TF_VariableInfo* var_info, TF_Status* status);
    
    TF_CAPI_EXPORT extern void TF_DeleteVariableInfo(TF_VariableInfo* var_info);
    
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Dec 20 20:01:06 GMT 2023
    - 7.2K bytes
    - Viewed (0)
Back to top