Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Tensor (4.71 sec)

  1. tensorflow/c/eager/c_api.cc

            "TFE_TensorHandleDeviceMemorySize may not be called on a ",
            handle->TypeString(), " tensor handle.");
        return 0;
      }
      const tensorflow::Tensor* tensor;
      status->status = handle->Tensor(&tensor);
      if (!status->status.ok()) {
        return 0;
      }
      return tensor->TotalBytes();
    }
    
    TFE_Op* TFE_NewOp(TFE_Context* ctx, const char* op_or_function_name,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
  2. tensorflow/c/c_api.cc

      }
    
      // Populate return_tensors
      DCHECK(tf_results->return_tensors.empty());
      tf_results->return_tensors.resize(results.return_tensors.size());
      for (int i = 0; i < results.return_tensors.size(); ++i) {
        tf_results->return_tensors[i].oper =
            ToOperation(results.return_tensors[i].first);
        tf_results->return_tensors[i].index = results.return_tensors[i].second;
      }
    
      // Populate return_nodes
    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)
  3. tensorflow/c/experimental/next_pluggable_device/c_api.cc

        status->status = cc_status;
        return nullptr;
      }
    
      tensorflow::Tensor* tensor = var_info->var_info.var()->tensor();
      TF_Tensor* result_tensor =
          tensorflow::TF_TensorFromTensor(*tensor, &cc_status);
      status->status = cc_status;
      return result_tensor;
    }
    
    void TF_DeleteVariableInfo(TF_VariableInfo* var_info) {
      if (var_info != nullptr) {
        delete var_info;
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jan 09 00:52:04 GMT 2024
    - 13.9K bytes
    - Viewed (1)
Back to top