Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for type (0.19 sec)

  1. tensorflow/c/eager/c_api_unified_experimental.h

    // A TF_AbstractTensor is an input to an operation. E.g. it could be a union
    // type of eager and graph tensors. It is also the result of executing an
    // operation.
    typedef struct TF_AbstractTensor TF_AbstractTensor;
    
    // A TF_AbstractOp is the metadata we need to execute an operation. E.g. this
    // could contain the op type and other attributes.
    typedef struct TF_AbstractOp TF_AbstractOp;
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:27:00 GMT 2021
    - 7K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/grappler/grappler.h

      void* ext;  // reserved for future use
    
      // Graph C API version.
      int32_t major_version;
      int32_t minor_version;
      int32_t patch_version;
    
      // Backend device type supported by the optimizer.
      const char* device_type;
      TP_OptimizerConfigs* optimizer_configs;  // output, set by plugin
      TP_Optimizer* optimizer;                 // output, set by plugin
    } TP_OptimizerRegistrationParams;
    
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Aug 03 18:08:43 GMT 2022
    - 12.5K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_experimental.h

    // off, and an execution operation for named operations. Often execution will
    // simply wrap op execution on one or more physical devices.
    //
    // device_info is an opaque caller-defined type stored with the custom device
    // which is passed to the functions referenced in the TFE_CustomDevice struct
    // `device` (execute, delete_device, etc.). It can for example contain the
    // names of wrapped devices.
    //
    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/parallel_device/parallel_device_testlib.h

    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
      // separate static method which returns a status.
      Variable(TFE_TensorHandle* handle, TF_DataType type)
          : handle_(handle), type_(type) {}
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Feb 09 01:12:35 GMT 2021
    - 6.9K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_test_util.h

                  TFE_TensorHandle* axis);
    
    // If there is a device of type `device_type`, returns true
    // and sets 'device_name' accordingly.
    // `device_type` must be either "GPU" or "TPU".
    bool GetDeviceName(TFE_Context* ctx, tensorflow::string* device_name,
                       const char* device_type);
    
    // Create a ServerDef with the given `job_name` and add `num_tasks` tasks in it.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Jul 17 23:43:59 GMT 2023
    - 7.7K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/plugins/gcs/cleanup.h

    #define TENSORFLOW_C_EXPERIMENTAL_FILESYSTEM_PLUGINS_GCS_CLEANUP_H_
    
    #include <type_traits>
    #include <utility>
    
    namespace tf_gcs_filesystem {
    
    // A move-only RAII object that calls a stored cleanup functor when
    // destroyed. Cleanup<F> is the return type of gtl::MakeCleanup(F).
    template <typename F>
    class Cleanup {
     public:
      Cleanup() : released_(true), f_() {}
    
    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)
  7. tensorflow/c/c_test.c

    // A create function. This will never actually get called in this test, it's
    // just nice to know that it compiles.
    void* create(TF_OpKernelConstruction* ctx) {
      TF_DataType type;
      TF_Status* s = TF_NewStatus();
      TF_OpKernelConstruction_GetAttrType(ctx, "foobar", &type, s);
      TF_DeleteStatus(s);
      return NULL;
    }
    
    // A compute function. This will never actually get called in this test, it's
    // just nice to know that it compiles.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Jan 15 17:51:26 GMT 2020
    - 2.8K bytes
    - Viewed (0)
  8. tensorflow/c/c_api.h

      // Length of the list if is_list is true. Undefined otherwise.
      int64_t list_size;
    
      // Type of elements of the list if is_list != 0.
      // Type of the single value stored in the attribute if is_list == 0.
      TF_AttrType type;
    
      // Total size the attribute value.
      // The units of total_size depend on is_list and type.
      // (1) If type == TF_ATTR_STRING and is_list == 0
      //     then total_size is the byte size of the string
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  9. tensorflow/c/env.h

    // 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 23 12:39:09 GMT 2024
    - Last Modified: Sat Jan 09 02:53:27 GMT 2021
    - 9.6K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api.h

                                                       TF_Status* status);
    
    // A handle to a tensor on a device.
    //
    // Like a TF_Tensor, a TFE_TensorHandle refers to a tensor with a value, shape,
    // type etc. Unlike a TF_Tensor, a TFE_TensorHandle may refer to such tensors
    // placed in the memory of different devices or remote address spaces.
    typedef struct TFE_TensorHandle TFE_TensorHandle;
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
Back to top