Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SparseConstOp (0.14 sec)

  1. tensorflow/compiler/mlir/lite/transforms/dense_to_sparse.cc

              auto new_value = DenseElementsAttr::get<float>(compressed_data_type,
                                                             compressed_data);
              auto s_const = builder.create<SparseConstOp>(
                  op->getLoc(), cst.getValue(), s_param, new_value);
              value.replaceAllUsesWith(s_const.getResult());
              cst.erase();
            } else if (type.getElementType().isF16()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

    }
    
    static bool IsConst(Operation* op) {
      return isa<mlir::func::ConstantOp, mlir::arith::ConstantOp, mlir::TF::ConstOp,
                 tfl::ConstOp, tfl::QConstOp, tfl::SparseConstOp,
                 tfl::SparseQConstOp, mlir::TFL::NoValueOp,
                 mlir::stablehlo::ConstantOp, mlir::vhlo::ConstantOpV1>(op);
    }
    
    static bool IsTFResourceOp(Operation* op) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

            .create<tfl::SparseQConstOp>(loc, mlir::TypeAttr::get(shaped_type),
                                         dummy_value, s_param, compressed_data)
            .getOperation();
      }
      return builder
          .create<tfl::SparseConstOp>(loc, dummy_value, s_param, compressed_data)
          .getOperation();
    }
    
    StatusOr<Operation*> BuildConstOp(const tflite::TensorT& tensor,
                                      const std::vector<uint8_t>& buffer,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
Back to top