Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for named (0.2 sec)

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

    #include "tensorflow/c/eager/c_api_experimental.h"
    
    namespace tensorflow {
    namespace parallel_device {
    
    // Allocate a parallel device named `device_name` which forwards operations to
    // `underlying_devices`, maintaining "parallel tensors" with components placed
    // on each underlying device.
    //
    // For example if `device_name` is
    //   "/job:localhost/replica:0/task:0/device:CUSTOM:0"
    // and `underlying_devices` is
    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)
  2. tensorflow/c/env.h

    // Retrieves a list of directory names on the local machine that may be used for
    // temporary storage. You can iterate through the list with TF_StringStreamNext.
    // The caller is responsible for freeing the list (see TF_StringStreamDone).
    TF_CAPI_EXPORT extern TF_StringStream* TF_GetLocalTempDirectories(void);
    
    // Creates a temporary file name with an extension.
    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)
  3. tensorflow/c/c_api.h

    //            converted to TF_Function.
    //  fn_name - the name of the new TF_Function. Should match the operation
    //            name (OpDef.name) regexp [A-Z][A-Za-z0-9_.\\-/]*.
    //            If `append_hash_to_fn_name` is false, `fn_name` must be distinct
    //            from other function and operation names (at least those
    //            registered in graphs where this function will be used).
    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)
  4. tensorflow/c/eager/parallel_device/parallel_device_lib.h

      // worker/task/replica if any of those differ across components. Useful for
      // printing debug messages.
      std::vector<std::string> SummarizeDeviceNames() const;
    
     private:
      // A sequence of device names, indicating which devices replicated operations
      // are forwarded to.
      const std::vector<std::string> underlying_devices_;
      // A sequence of thread wrappers, one per device, for executing operations in
      // parallel.
    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)
  5. tensorflow/c/eager/c_api.h

    TF_CAPI_EXPORT extern TF_AttrType TFE_OpNameGetAttrType(
        TFE_Context* ctx, const char* op_or_function_name, const char* attr_name,
        unsigned char* is_list, TF_Status* status);
    
    TF_CAPI_EXPORT extern void TFE_OpSetAttrString(TFE_Op* op,
                                                   const char* attr_name,
                                                   const void* value,
                                                   size_t length);
    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)
  6. tensorflow/c/eager/abstract_operation.h

      virtual Status SetAttrFloat(const char* attr_name, float value) = 0;
      virtual Status SetAttrBool(const char* attr_name, bool value) = 0;
      virtual Status SetAttrType(const char* attr_name, DataType value) = 0;
      virtual Status SetAttrShape(const char* attr_name, const int64_t* dims,
                                  const int num_dims) = 0;
      virtual Status SetAttrShape(const char* attr_name,
    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)
  7. tensorflow/c/c_api_macros_internal.h

                                    "set to " #SIZE_VALUE_NAME                \
                                    ". Found `struct_size` = 0.");            \
        }                                                                     \
      } while (0)
    
    // Macro to verify that the field NAME of STRUCT_OBJ is not null.
    #define TF_VALIDATE_NOT_NULL(STRUCT_NAME, STRUCT_OBJ, NAME)            \
      do {                                                                 \
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Mar 13 17:40:56 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  8. tensorflow/c/c_test.c

        return 1;
      }
    
      char file_name[100];
      time_t t = time(NULL);
      snprintf(file_name, sizeof(file_name), "test-%d-%ld.txt", getpid(), t);
    
      size_t length = 2 + strlen(path) + strlen(file_name);
      char* full_path = malloc(length);
      snprintf(full_path, length, "%s/%s", path, file_name);
    
      TF_WritableFileHandle* h;
      TF_Status* status = TF_NewStatus();
    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)
  9. tensorflow/c/eager/tfe_monitoring_internal.h

    };
    
    template <int NumLabels>
    struct TFE_MonitoringCounter {
      template <typename... LabelDesc>
      TFE_MonitoringCounter(const char* name, const char* description,
                            LabelDesc&&... label) {
        counter = absl::WrapUnique(tensorflow::monitoring::Counter<NumLabels>::New(
            name, description, label...));
      }
    
      std::unique_ptr<tensorflow::monitoring::Counter<NumLabels>> counter;
    };
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 11 01:20:50 GMT 2021
    - 5.2K bytes
    - Viewed (0)
  10. tensorflow/c/eager/tfe_op_attrs_internal.h

    // Set an AttrValue on the op. Doesn't handle the list types.
    void SetOpAttrValueScalar(TFE_Context* ctx, TFE_Op* op,
                              const tensorflow::AttrValue& default_value,
                              const char* attr_name, TF_Status* status);
    }  // namespace tensorflow
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 10 05:41:19 GMT 2021
    - 1.6K bytes
    - Viewed (0)
Back to top