Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for Decode (0.19 sec)

  1. tensorflow/c/eager/parallel_device/parallel_device_testlib.h

      if (TF_GetCode(status) != TF_OK) return nullptr;
      TFE_OpSetAttrInt(op.get(), "N", num_replicas);
      for (int i = 0; i < num_replicas; ++i) {
        TFE_OpAddInput(op.get(), components[i], status);
        if (TF_GetCode(status) != TF_OK) return nullptr;
      }
      TFE_OpSetDevice(op.get(), device, status);
      if (TF_GetCode(status) != TF_OK) return nullptr;
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 09 01:12:35 GMT 2021
    - 6.9K bytes
    - Viewed (0)
  2. 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;
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 25 15:21:13 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_test_util.h

      TF_Tensor* t = TFE_AllocateHostTensor(ctx, datatype, dims, num_dims, status);
      memcpy(TF_TensorData(t), data, TF_TensorByteSize(t));
      TFE_TensorHandle* th = TFE_NewTensorHandleFromTensor(ctx, t, status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TF_DeleteTensor(t);
      TF_DeleteStatus(status);
      return th;
    }
    
    // Return a scalar tensor handle with given values.
    template <class T, TF_DataType datatype>
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Jul 17 23:43:59 GMT 2023
    - 7.7K bytes
    - Viewed (0)
  4. tensorflow/c/c_api.h

    //              the nodes in the graph (except for the automatic skipping, see
    //              below).
    //  opers - Array of operations to become the body of the function or null.
    //          - If no array is given (`num_opers` = -1), all the
    //          operations in `fn_body` will become part of the function
    //          except operations referenced in `inputs`. These operations
    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)
  5. tensorflow/c/c_test.c

      TF_Status* status = TF_NewStatus();
      TF_NewWritableFile(full_path, &h, status);
      if (TF_GetCode(status) != TF_OK) {
        fprintf(stderr, "TF_NewWritableFile failed: %s\n", TF_Message(status));
        return 1;
      }
      fprintf(stderr, "wrote %s\n", full_path);
      free(full_path);
      TF_CloseWritableFile(h, status);
      if (TF_GetCode(status) != TF_OK) {
        fprintf(stderr, "TF_CloseWritableFile failed: %s\n", TF_Message(status));
      }
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Apr 24 20:50:35 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api.h

    // in 'op' should not be mutated till the kernel execution actually finishes.
    //
    // For sync execution, if any of the inputs to `op` are not ready, this call
    // will block till they become ready and then return when the kernel execution
    // is done.
    // TODO(agarwal): change num_retvals to int from int*.
    TF_CAPI_EXPORT extern void TFE_Execute(TFE_Op* op, TFE_TensorHandle** retvals,
    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)
  7. tensorflow/c/eager/tape.h

    // without using tensorflow python code, hence left unspecified here.
    //
    // Gradient is the type returned by gradient functions. In Python TF it's either
    // Tensor or IndexedSlices or None, which here we map to nullptr. Gradients need
    // to allow their size to be computed and they need to be passable to a backward
    // function and deleted (as the backprop code creates lots of gradients the user
    // is not interested in).
    //
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  8. tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h

        absl::MutexLock lock(&mu_);
        if (LookupLocked(key, value)) {
          return TF_SetStatus(status, TF_OK, "");
        }
        compute_func(key, value, status);
        if (TF_GetCode(status) == TF_OK) {
          InsertLocked(key, *value);
        }
      }
    
      /// Clear the cache.
      void Clear() {
        absl::MutexLock lock(&mu_);
        cache_.clear();
        lru_list_.clear();
      }
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 19:31:22 GMT 2020
    - 6.3K bytes
    - Viewed (0)
  9. 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,
    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)
  10. tensorflow/c/experimental/filesystem/filesystem_interface.h

    ///
    /// Since filesystem plugins are outside of TensorFlow's code tree, they are not
    /// tied with TensorFlow releases and should have their own versioning metadata
    /// in addition with the data discussed in this section. Each plugin author can
    /// use a custom scheme, but it should only relate to changes in plugin code.
    /// This section only touches metadata related to the versioning of this
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
Back to top