Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for tensor_key (0.17 sec)

  1. tensorflow/c/eager/dlpack.cc

      auto tf_dlm_type = GetDlDataType(data_type, status);
      if (!status->status.ok()) {
        return nullptr;
      }
    
      TensorReference tensor_ref(*tensor);  // This will call buf_->Ref()
      auto* tf_dlm_tensor_ctx = new TfDlManagedTensorCtx(tensor_ref);
      tf_dlm_tensor_ctx->reference = tensor_ref;
    
      DLManagedTensor* dlm_tensor = &tf_dlm_tensor_ctx->tensor;
      dlm_tensor->manager_ctx = tf_dlm_tensor_ctx;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 09:49:45 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

      auto output_ty = op.getType().dyn_cast<RankedTensorType>();
      if (!output_ty) return success();
      auto tensor_ty = op.getTensor().getType().cast<TensorType>();
      if (output_ty.hasStaticShape() && tensor_ty.hasStaticShape()) {
        const int64_t output_ty_size = output_ty.getNumElements();
        const int64_t tensor_ty_size = tensor_ty.getNumElements();
        if (tensor_ty_size != output_ty_size)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

                                    PatternRewriter &rewriter) const override {
        auto tensor_ty = mlir::dyn_cast<RankedTensorType>(op.getTensor().getType());
        auto indices_ty =
            mlir::dyn_cast<RankedTensorType>(op.getIndices().getType());
        auto updates_ty =
            mlir::dyn_cast<RankedTensorType>(op.getUpdates().getType());
    
        if (!tensor_ty || !indices_ty || !updates_ty) return failure();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
Back to top