Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for error (0.2 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. tensorflow/c/eager/unified_api_testutil.h

      std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status(
          TF_NewStatus(), TF_DeleteStatus);
      TFE_Context* eager_ctx =
          TF_ExecutionContextGetTFEContext(wrap(ctx), status.get());
      TF_RETURN_IF_ERROR(StatusFromTF_Status(status.get()));
      TFE_TensorHandle* input_eager =
          TestTensorHandleWithDims<T, datatype>(eager_ctx, data, dims, num_dims);
      *tensor =
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 4K bytes
    - Viewed (0)
  7. tensorflow/c/eager/immediate_execution_operation.h

      virtual Status InputLength(const char* input_name, int* length) = 0;
      virtual Status OutputLength(const char* output_name, int* length) = 0;
    
      // Set stack trace to be used for potential async error reporting.
      virtual void SetStackTrace(ManagedStackTrace stack_trace) = 0;
    
      virtual const tensorflow::AbstractOpAttrs* GetOpAttrs() const = 0;
      virtual void AddAttrs(const AbstractOpAttrs* op_attrs) = 0;
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 26 22:40:32 GMT 2022
    - 3.6K bytes
    - Viewed (0)
  8. tensorflow/c/c_op_requires.h

          return;                                                     \
        }                                                             \
      } while (0)
    
    #define TF_CLEANUP_AND_RETURN_IF_ERROR(C_STATUS, BUFFER, __VA_ARGS__) \
      do {                                                                \
        ::tensorflow::Status _s(__VA_ARGS__);                             \
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Aug 02 21:35:06 GMT 2022
    - 2.3K bytes
    - Viewed (0)
  9. 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)
  10. tensorflow/c/experimental/next_pluggable_device/c_api.h

    // Obtains key-value from coordination service agent. The returned `TF_Buffer`
    // is a newly allocated buffer to hold the string key-value, and caller is
    // responsible for managing the lifetime. If error, `status` will be set and a
    // nullptr will be returned.
    TF_CAPI_EXPORT extern TF_Buffer* TF_CoordinationServiceGetKeyValue(
        const char* key, int64_t key_size, TF_CoordinationServiceAgent* agent,
        TF_Status* status);
    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