Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 48 for Variable (0.22 sec)

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

      // Create a variable handle (uninitialized to start) placed on the parallel
      // device.
      std::function<void(Variable*)> variable_deleter = [&](Variable* to_delete) {
        to_delete->Destroy(context, status.get());
        ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
        delete to_delete;
      };
      std::unique_ptr<Variable, decltype(variable_deleter)> variable(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jun 15 15:44:44 GMT 2021
    - 12.5K bytes
    - Viewed (0)
  2. tensorflow/c/eager/parallel_device/parallel_device_testlib.h

    namespace tensorflow {
    namespace parallel_device {
    
    // A helper for performing common operations on variables. A much more
    // restricted stand-in for tf.Variable in Python.
    class Variable {
     public:
      // Construct a Variable from a resource-dtype TFE_TensorHandle and an
      // indication of the dtype of the variable's value.
      //
      // Note that creating this resource-dtype handle can fail, so `Create` is a
    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)
  3. tensorflow/api_template_v1.__init__.py

    # sets the __all__ variable. If it does, we have to be sure to add
    # "contrib".
    if "__all__" in vars():
      vars()["__all__"].append("contrib")
    
    from tensorflow.python.platform import flags
    # The "app" module will be imported as part of the placeholder section above.
    _current_module.app.flags = flags  # pylint: disable=undefined-variable
    setattr(_current_module, "flags", flags)
    
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jan 23 02:14:00 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  4. .github/bot_config.yml

           * Refer [windows setup guide](https://www.tensorflow.org/install/gpu#windows_setup).
         * If you have above configuration and using _**Ubuntu/Linux**_ platform -
           * Try adding the CUDA, CUPTI, and cuDNN installation directories to the $LD_LIBRARY_PATH environment variable.
           * Refer [linux setup guide](https://www.tensorflow.org/install/gpu#linux_setup).
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Tue Oct 17 11:48:07 GMT 2023
    - 4K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_experimental.h

        TF_CheckpointReader* reader, const char* name);
    // Get the variable name at the given index
    TF_CAPI_EXPORT extern const char* TF_CheckpointReaderGetVariable(
        TF_CheckpointReader* reader, int index);
    // Get the number of variable in the checkpoint
    TF_CAPI_EXPORT extern int TF_CheckpointReaderSize(TF_CheckpointReader* reader);
    // Get the DataType of a variable
    TF_CAPI_EXPORT extern TF_DataType TF_CheckpointReaderGetVariableDataType(
    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)
  6. tensorflow/c/eager/c_api_test_util.cc

    TFE_TensorHandle* CreateVarHandle(TFE_Context* ctx,
                                      const tensorflow::string& device_name,
                                      const tensorflow::string& variable_name) {
      TF_Status* status = TF_NewStatus();
      // Create the variable handle.
      TFE_Op* op = TFE_NewOp(ctx, "VarHandleOp", status);
      if (TF_GetCode(status) != TF_OK) return nullptr;
      TFE_OpSetAttrType(op, "dtype", TF_FLOAT);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 23.5K bytes
    - Viewed (2)
  7. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

      /// the LRU cache, the timestamp (seconds since epoch) at which the block
      /// was cached, a coordination lock, and state & condition variables.
      ///
      /// Thread safety:
      /// The iterator and timestamp fields should only be accessed while holding
      /// the block-cache-wide mu_ instance variable. The state variable should only
      /// be accessed while holding the Block's mu lock. The data vector should only
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 04:46:34 GMT 2020
    - 10.6K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_test_util.h

    // Create a variable handle with name `variable_name` on a device with name
    // `device_name`.
    TFE_TensorHandle* CreateVarHandle(TFE_Context* ctx,
                                      const tensorflow::string& device_name,
                                      const tensorflow::string& variable_name);
    
    // Create a variable with value `value` and name `variable_name` on a device
    // with name `device_name`.
    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)
  9. ci/official/utilities/setup.sh

    # variables in it, OR may be left empty if the user has already exported the
    # relevant variables in their environment. Because of 'set -o allexport' above
    # (which is equivalent to "set -a"), every variable in the file is exported
    # for other files to use.
    #
    # Separately, if TFCI is set *and* there are also additional TFCI_ variables
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Jan 26 00:33:34 GMT 2024
    - 5.2K bytes
    - Viewed (1)
  10. tensorflow/c/experimental/next_pluggable_device/c_api.cc

      tensorflow::Var* variable;
      cc_status = tensorflow::LookupResource(cc_ctx, handle, &variable);
      return new TF_VariableInfo(index, handle.name(), variable);
    }
    
    void TF_LockVariableInfos(TF_VariableInfo** vars, int num_vars,
                              TF_Status* status) {
      std::vector<tensorflow::VariableInfo*> variable_ptrs;
      variable_ptrs.reserve(num_vars);
      for (int i = 0; i < num_vars; ++i) {
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jan 09 00:52:04 GMT 2024
    - 13.9K bytes
    - Viewed (1)
Back to top