Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for master (0.2 sec)

  1. tensorflow/c/c_api_macros_internal.h

    // `struct_size` is used for struct member compatibility check between core TF
    // and plug-ins with the same C API minor version. More info here:
    // https://github.com/tensorflow/community/blob/master/rfcs/20200612-stream-executor-c-api/C_API_versioning_strategy.md
    #define TF_VALIDATE_STRUCT_SIZE(STRUCT_NAME, STRUCT_OBJ, SIZE_VALUE_NAME) \
      do {                                                                    \
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Mar 13 17:40:56 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/cleanup.h

    //
    // Example:
    //   void func() {
    //     FILE* fp = fopen("data.txt", "r");
    //     if (fp == nullptr) return;
    //     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);
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 11:16:00 GMT 2020
    - 3.4K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_experimental.h

    // creating a new op every time. If `raw_device_name` is `NULL` or empty, it
    // does not set the device name. If it's not `NULL`, then it attempts to parse
    // and set the device name. It's effectively `TFE_OpSetDevice`, but it is faster
    // than separately calling it because if the existing op has the same
    // `raw_device_name`, it skips parsing and just leave as it is.
    TF_CAPI_EXPORT extern void TFE_OpReset(TFE_Op* op_to_reset,
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  4. tensorflow/c/eager/tape.h

          // TODO(allenl): Figure out why using zeros_like everywhere causes issues
          // for some gradient functions and if there's another way to work around
          // it (e.g. conds instead of ifs). The value shouldn't really matter.
          TF_RETURN_IF_ERROR(vspace_.BuildOnesLike(output_tensor, &aid));
        }
        if (TF_PREDICT_FALSE(aid == nullptr)) {
          return tensorflow::errors::Internal(
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
Back to top