Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for name (0.18 sec)

  1. 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)
  2. 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)
  3. 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 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 20 03:14:47 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  4. 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 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 25 15:21:13 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  5. 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 30 12:39:09 GMT 2024
    - Last Modified: Mon Mar 13 17:40:56 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  6. 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 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  7. 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)
  8. tensorflow/c/eager/immediate_execution_distributed_manager.h

      // execution.
      virtual Status EnableCollectiveOps(const ServerDef& server_def) = 0;
    
      // Check if the remote task is alive.
      virtual Status CheckRemoteAlive(const std::string& remote_task_name,
                                      bool* is_alive) = 0;
    
      // Get pointer to the coordination service agent instance.
      virtual tsl::CoordinationServiceAgent* GetCoordinationServiceAgent() = 0;
    };
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  9. tensorflow/c/checkpoint_reader.h

      // Attempts to look up the tensor named "name" and stores the found result in
      // "out_tensor".
      void GetTensor(const string& name,
                     std::unique_ptr<tensorflow::Tensor>* out_tensor,
                     TF_Status* out_status) const;
    
     private:
      // Uses "v2_reader_" to build "var name -> shape" and "var name -> data type"
      // maps; both owned by caller.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  10. tensorflow/c/c_api_internal.h

      std::vector<TF_Output> return_tensors;
      std::vector<TF_Operation*> return_nodes;
      std::vector<const char*> missing_unused_key_names;
      std::vector<int> missing_unused_key_indexes;
    
      // Backing memory for missing_unused_key_names values.
      std::vector<tensorflow::string> missing_unused_key_names_data;
    };
    
    struct TF_DeviceList {
      std::vector<tensorflow::DeviceAttributes> response;
    };
    
    struct TF_Function {
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat May 13 00:49:12 GMT 2023
    - 7.6K bytes
    - Viewed (0)
Back to top