Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for if (0.25 sec)

  1. tensorflow/c/c_test.c

      TF_Status* status = TF_NewStatus();
      TF_NewWritableFile(full_path, &h, status);
      if (TF_GetCode(status) != TF_OK) {
        fprintf(stderr, "TF_NewWritableFile failed: %s\n", TF_Message(status));
        return 1;
      }
      fprintf(stderr, "wrote %s\n", full_path);
      free(full_path);
      TF_CloseWritableFile(h, status);
      if (TF_GetCode(status) != TF_OK) {
        fprintf(stderr, "TF_CloseWritableFile failed: %s\n", TF_Message(status));
    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)
  2. tensorflow/c/eager/immediate_execution_distributed_manager.h

      // tasks to initialize the eager context and TF server for multi-client
      // 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.
    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)
  3. tensorflow/c/eager/tape.h

      auto it = tensor_usage_.find(tensor_id);
      if (it == tensor_usage_.end()) {
        return;
      }
      it->second--;
      if (it->second != 0) {
        return;
      }
      tensor_usage_.erase(it);
      auto tensor_op_it = tensor_tape_.find(tensor_id);
      if (tensor_op_it == tensor_tape_.end()) {
        return;
      }
      const int64_t op_id = tensor_op_it->second;
      if (op_id == -1) {
        // Do not delete watched tensors.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  4. tensorflow/c/eager/c_api_experimental.h

    // is for performance optimization by reusing an exiting unused op rather than
    // creating a new op every time. If `raw_device_name` is `NULL` or empty, it
    // does not set the device name. If it's not `NULL`, then it attempts to parse
    // and set the device name. It's effectively `TFE_OpSetDevice`, but it is faster
    // than separately calling it because if the existing op has the same
    // `raw_device_name`, it skips parsing and just leave as it is.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  5. tensorflow/c/eager/unified_api_testutil.h

                                       absl::Span<AbstractTensorHandle*>)>;
    
    // Runs `model` maybe wrapped in a function call op. This can be thought as
    // being equivalent to the following python code.
    //
    // if use_function:
    //   outputs = tf.function(model)(inputs)
    // else:
    //   outputs = model(inputs)
    Status RunModel(Model model, AbstractContext* ctx,
                    absl::Span<AbstractTensorHandle* const> inputs,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 4K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/next_pluggable_device/c_api.h

        void (*delete_func)(void*), TF_Status* status);
    
    // If the ResourceMgr provided by the `ctx` has a resource
    // `plugin_resource_name`, returns it in `*result_plugin_resource`. Otherwise,
    // invokes create_func to create the resource. `delete_func` is needed for
    // ResourceMgr to clean up the resource. `status` will be set. If `status` is
    // not OK, `*result_plugin_resource` will be set as nullptr.
    //
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Dec 20 20:01:06 GMT 2023
    - 7.2K bytes
    - Viewed (0)
Back to top