- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for error (0.17 sec)
-
tensorflow/c/c_api.h
// and these structs are allocated/deallocated via the API. // * TF_Status holds error information. It is an object type // and therefore is passed around as a pointer to an opaque // struct as mentioned above. // * Every call that has a TF_Status* argument clears it on success // and fills it with error info on failure. // * unsigned char is used for booleans (instead of the 'bool' type).
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Viewed (3) -
tensorflow/c/env.h
// // If dirname and all its descendants were successfully deleted, TF_OK is // returned and both error counters are set to zero. // // Otherwise, while traversing the tree, undeleted_file_count and // undeleted_dir_count are updated if an entry of the corresponding type could // not be deleted. The returned error status represents the reason that any one // of these entries could not be deleted. // // Typical status codes:
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Sat Jan 09 02:53:27 GMT 2021 - 9.6K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device.h
// // Implicit copies onto `device_name` are allowed, replicating the value once // per device in `underlying_devices`. Implicit copies off of the device throw // an error. // // All component tensors must have the same dtype. Currently they must also have // the same shape, although this requirement may be relaxed in the future. //
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jun 04 21:49:16 GMT 2020 - 2.9K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/grad_test_helper.h
Model model, Model grad_model, AbstractContext* ctx, absl::Span<AbstractTensorHandle* const> inputs, bool use_function, double abs_error = 1e-2); void CheckTensorValue(AbstractTensorHandle* t, absl::Span<const float> manuals, absl::Span<const int64_t> dims, double abs_error = 1e-2); Model BuildGradModel(Model forward, GradientRegistry registry); } // namespace internal } // namespace gradients
C - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Thu Jan 14 20:36:51 GMT 2021 - 1.5K bytes - Viewed (0) -
tensorflow/c/eager/c_api.h
// Set the config in TF_ContextOptions.options. // config should be a serialized tensorflow.ConfigProto proto. // If config was not parsed successfully as a ConfigProto, record the // error information in *status. TF_CAPI_EXPORT extern void TFE_ContextOptionsSetConfig( TFE_ContextOptions* options, const void* proto, size_t proto_len, TF_Status* status);
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 22.8K bytes - Viewed (1) -
tensorflow/c/experimental/filesystem/plugins/gcs/cleanup.h
// auto fp_cleaner = gtl::MakeCleanup([fp] { fclose(fp); }); // // No matter what, fclose(fp) will happen. // DataObject d; // while (ReadDataObject(fp, &d)) { // if (d.IsBad()) { // LOG(ERROR) << "Bad Data"; // return; // } // PushGoodData(d); // } // } // // You can use Cleanup<F> directly, instead of using MakeCleanup and auto, // but there's rarely a reason to do that.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 09 11:16:00 GMT 2020 - 3.4K bytes - Viewed (0) -
tensorflow/c/eager/abstract_operation.h
const char* attr_name, absl::Span<const AbstractOperation*> values) = 0; private: const AbstractOperationKind kind_; }; // TODO(b/193656009): Defining these in a cc file causes linker errors with // fastbuild. inline Status AbstractOperation::SetAttrShape(const char* attr_name, const PartialTensorShape shape) {
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Jul 14 16:20:41 GMT 2021 - 6.8K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.h
TF_Status* status); // Report error (specified by error_code and error_message) to other tasks in // the cluster. TF_CAPI_EXPORT extern void TFE_ReportErrorToCluster(TFE_Context* ctx, int error_code, const char* error_message, TF_Status* status);
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 39.5K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue20266/issue20266.h
// Copyright 2017 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #define issue20266 20266 #ifndef def20266 #error "expected def20266 to be defined"
C - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 251 bytes - Viewed (0) -
tensorflow/c/c_api_experimental.h
TF_Status* status); // Aborts all ongoing collectives with the specified status. After abortion, // subsequent collectives will error with this status immediately. To reset the // collectives, create a new EagerContext. // // This is intended to be used when a peer failure is detected. TF_CAPI_EXPORT extern void TFE_AbortCollectiveOps(TFE_Context* ctx,
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 15.1K bytes - Viewed (0)