Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 41 for name (0.15 sec)

  1. tensorflow/c/eager/abstract_context.h

      // Registers a function with this context, after this the function is
      // available to be called/referenced by its name in this context.
      virtual Status RegisterFunction(AbstractFunction*) = 0;
      // Remove a function. 'func' argument is the name of a previously added
      // FunctionDef. The name is in fdef.signature.name.
      virtual Status RemoveFunction(const string& func) = 0;
    
     private:
      const AbstractContextKind kind_;
    };
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:16:58 GMT 2021
    - 3K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_experimental_reader.h

    // auto* streamz = tensorflow::monitoring::Counter<1>::New("name",
    // "description", "label");
    // and then incremented that counter for various values of label:
    // streamz->GetCell("label-value")->IncrementBy(1);
    //
    // The test code can then read and test the value of that counter:
    //
    // auto* reader = TFE_MonitoringNewCounterReader("name");
    // test();
    // int64_t value = TFE_MonitoringReadCounter1(reader, "label-value");
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 20 03:14:47 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  3. tensorflow/c/eager/parallel_device/parallel_device_testlib.h

        TFE_Context* context, const char* device_name,
        const std::array<const char*, num_devices>& underlying_devices,
        TF_Status* status) {
      TFE_CustomDevice device;
      void* device_info;
      tensorflow::parallel_device::AllocateParallelDevice(
          device_name, underlying_devices.data(), underlying_devices.size(),
          &device, &device_info);
      TFE_RegisterCustomDevice(context, device, device_name, device_info, status);
    }
    
    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)
  4. 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 23 12:39:09 GMT 2024
    - Last Modified: Sat Jan 09 02:53:27 GMT 2021
    - 9.6K bytes
    - Viewed (0)
  5. tensorflow/c/eager/parallel_device/parallel_device_lib.h

      //
      // Otherwise if all of the tensors have the same shape, returns that via the
      // `shape` output argument. This blocks waiting for async tensors, may return
      // a delayed bad status encountered during async execution, and will return a
      // bad status unless all tensors have the same shape.
      Status Shape(const std::vector<int64_t>** shape) const;
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Apr 25 15:21:13 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.h

    #include "tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h"
    #include "tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h"
    #include "tensorflow/c/tf_status.h"
    
    void ParseGCSPath(const std::string& fname, bool object_empty_ok,
                      std::string* bucket, std::string* object, TF_Status* status);
    
    namespace tf_random_access_file {
    void Cleanup(TF_RandomAccessFile* file);
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 04:37:41 GMT 2020
    - 5.2K bytes
    - Viewed (0)
  7. 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 23 12:39:09 GMT 2024
    - Last Modified: Wed Jul 14 16:20:41 GMT 2021
    - 6.8K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api.h

                                                             TF_Status* status);
    
    // Create a new TFE_TensorHandle with the same contents as 'h' but placed
    // in the memory of the device name 'device_name'.
    // If source and destination are the same device, then this creates a new handle
    // that shares the underlying buffer. Otherwise, it currently requires at least
    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)
  9. tensorflow/c/c_api_macros_internal.h

      do {                                                                 \
        if (STRUCT_OBJ.NAME == 0) {                                        \
          return tensorflow::Status(absl::StatusCode::kFailedPrecondition, \
                                    "'" #NAME "' field in " #STRUCT_NAME   \
                                    " must be set.");                      \
    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)
  10. 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 23 12:39:09 GMT 2024
    - Last Modified: Wed Jan 15 17:51:26 GMT 2020
    - 2.8K bytes
    - Viewed (0)
Back to top