- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 912 for STATUS (0.06 sec)
-
tensorflow/c/eager/dlpack.cc
} } void* TFE_HandleToDLPack(TFE_TensorHandle* h, TF_Status* status) { auto tf_dlm_context = GetDlContext(h, status); if (!status->status.ok()) { return nullptr; } auto* tf_dlm_data = TFE_TensorHandleDevicePointer(h, status); if (!status->status.ok()) { return nullptr; } const Tensor* tensor = GetTensorFromHandle(h, status); TF_DataType data_type = static_cast<TF_DataType>(tensor->dtype());
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 12.9K bytes - Viewed (0) -
tensorflow/c/eager/gradients_internal.h
absl::Status SetAttrBool(AbstractOperation*, const char* attr_name, bool value, ForwardOperation*); absl::Status SetAttrType(AbstractOperation*, const char* attr_name, DataType value, ForwardOperation*); absl::Status SetAttrShape(AbstractOperation*, const char* attr_name, const int64_t* dims, const int num_dims, ForwardOperation*);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 4.7K bytes - Viewed (0) -
tensorflow/c/eager/abstract_operation.h
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, int* num_retvals) = 0;
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 7.3K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib_test.cc
TFE_NewOp(context.get(), "VarHandleOp", status.get()), TFE_DeleteOp); ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); TFE_OpSetAttrType(handle_op.get(), "dtype", TF_FLOAT); TFE_OpSetAttrShape(handle_op.get(), "shape", /*dims=*/nullptr, /*num_dims=*/0, status.get()); ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); auto outputs =
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Mon Oct 21 04:14:14 UTC 2024 - 15.6K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.cc
status->status = c.construction_status(); if (!status->status.ok()) return; if (op_reg_data->shape_inference_fn == nullptr) { status->status = InvalidArgument("No shape inference function exists for op '", node_def.op(), "', did you forget to define it?"); return; } status->status = c.Run(op_reg_data->shape_inference_fn);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 29.5K bytes - Viewed (0) -
cmd/site-replication-utils.go
switch bktStatus { case ResyncCompleted: st.BucketStatuses[o.bucket] = ResyncCompleted st.Status = siteResyncStatus(st.Status, st.BucketStatuses) st.LastUpdate = UTCNow() sm.resyncStatus[o.resyncID] = st case ResyncFailed: st.BucketStatuses[o.bucket] = ResyncFailed st.Status = siteResyncStatus(st.Status, st.BucketStatuses) st.LastUpdate = UTCNow() sm.resyncStatus[o.resyncID] = st } } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 8.9K bytes - Viewed (0) -
tensorflow/c/c_api_experimental_test.cc
TF_NewStatus(), TF_DeleteStatus); int assign = TF_OpIsStateful("AssignAddVariableOp", status.get()); 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:
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Tue Jan 17 22:27:52 UTC 2023 - 13.1K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib.h
TFE_NewOp(context, "Const", status), TFE_DeleteOp); if (TF_GetCode(status) != TF_OK) return nullptr; TFE_OpSetDevice(const_op.get(), underlying_devices_[device_index].c_str(), status); if (TF_GetCode(status) != TF_OK) return nullptr; TFE_OpSetAttrTensor(const_op.get(), "value", tensor.get(), status); if (TF_GetCode(status) != TF_OK) return nullptr;
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Mon Oct 21 04:14:14 UTC 2024 - 13.1K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib.cc
TF_Status* status) const { if (op_ == nullptr) { TFE_ContextSetExecutorForThread(context, executor_.get()); op_.reset(TFE_NewOp(context, operation_name, status)); if (TF_GetCode(status) != TF_OK) return; TFE_OpSetDevice(op_.get(), device_.c_str(), status); if (TF_GetCode(status) != TF_OK) return; } else {
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Mon Oct 21 04:14:14 UTC 2024 - 25.9K bytes - Viewed (0) -
tensorflow/c/eager/c_api_debug_test.cc
ASSERT_EQ(0, TFE_TensorDebugInfoOnDeviceNumDims(debug_info)); TFE_DeleteTensorDebugInfo(debug_info); TFE_DeleteTensorHandle(h); TFE_DeleteContext(ctx); TF_DeleteStatus(status); } TEST(CApiDebug, 2DCPU) { TF_Status* status = TF_NewStatus(); TFE_ContextOptions* opts = TFE_NewContextOptions(); TFE_Context* ctx = TFE_NewContext(opts, status); CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Mon Apr 06 22:10:09 UTC 2020 - 2.3K bytes - Viewed (0)