Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for owners (0.22 sec)

  1. tensorflow/c/c_api.cc

    }
    
    void TF_ImportGraphDefResultsReturnOperations(TF_ImportGraphDefResults* results,
                                                  int* num_opers,
                                                  TF_Operation*** opers) {
      *num_opers = results->return_nodes.size();
      *opers = results->return_nodes.data();
    }
    
    void TF_ImportGraphDefResultsMissingUnusedInputMappings(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_function.cc

    // Performs various checks.
    Status ComputeBodyNodes(
        const TF_Graph* fn_body, const char* fn_name, int num_opers,
        const TF_Operation* const* opers,
        const std::unordered_map<const Node*, std::vector<int>>& input_nodes,
        std::vector<const Node*>* body_nodes)
        TF_EXCLUSIVE_LOCKS_REQUIRED(fn_body->mu) {
      if (num_opers == -1) {
        for (const Node* node : fn_body->graph.op_nodes()) {
          const auto& iter = input_nodes.find(node);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 13.6K bytes
    - Viewed (2)
  3. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

      // `is_async` operations finish. In addition to allowing the caller to cancel
      // the operation, its `StartCancel` method will be called if op execution
      // fails on any device in order to cancel the others.
      void StartExecute(TFE_Context* context, const char* operation_name,
                        std::vector<TFE_TensorHandle*> inputs,
                        const TFE_OpAttrs* attributes, int expected_max_outputs,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
  4. tensorflow/c/eager/parallel_device/parallel_device_test.cc

      std::unique_ptr<TF_Function, decltype(&TF_DeleteFunction)> function(
          TF_GraphToFunction(
              /* fn_body */ body.get(), /* fn_name */ function_name,
              /* append_hash_to_fn_name */ 0, /* num_opers */ 2,
              /* opers */ operations, /* ninputs */ 1, /* inputs */ &x,
              /* noutputs */ 1, /* outputs */ &y, /* output_names */ &output_name,
              /* opts */ nullptr, /* description */ "", /* status */ status),
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 08 23:47:35 GMT 2021
    - 29.3K bytes
    - Viewed (1)
  5. tensorflow/c/c_api_experimental.cc

      if (input_arg.number_attr().empty()) {
        status->status = tensorflow::errors::NotFound(
            op_name, " does not have number_attr() defined.");
        return nullptr;
      }
    
      // The returned string is owned by OpRegistry, so liveness is not a concern.
      return input_arg.number_attr().c_str();
    }
    
    int TF_OpIsStateful(const char* op_type, TF_Status* status) {
      const tensorflow::OpRegistrationData* op_reg_data;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  6. tensorflow/c/eager/dlpack.cc

        return nullptr;
      }
      return tensor;
    }
    
    // Deleter for DLManagedTensor
    void DLManagedTensorDeleter(DLManagedTensor* arg) {
      TfDlManagedTensorCtx* owner =
          static_cast<TfDlManagedTensorCtx*>(arg->manager_ctx);
      owner->reference.Unref();
      delete owner;
    }
    
    // Converts TF_DATAType to DLPack data type.
    DLDataType GetDlDataType(TF_DataType data_type, TF_Status* status) {
      DLDataType dtype;
      dtype.lanes = 1;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc

    //
    // Uses the 4 simpler `ValidateHelper(const TF_...*)` to validate each
    // individual function table and then checks that the function table for a
    // specific file type exists if the plugin offers support for creating that
    // type of files.
    static Status ValidateOperations(const TF_FilesystemPluginOps* ops) {
      TF_RETURN_IF_ERROR(ValidateHelper(ops->filesystem_ops));
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 07 22:08:43 GMT 2023
    - 12.8K bytes
    - Viewed (0)
Back to top