Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for SparsityParameterAttr (0.13 sec)

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

      }
    
      return result;
    }
    
    template <typename T>
    std::vector<T> BuildSparsityParameterAttribute(
        const std::vector<int>& block_size, const T* dense_buffer, Operation* inst,
        OpBuilder* builder, SparsityParameterAttr* s_param) {
      ElementsAttr attr;
      ShapedType type;
      if (auto cst = dyn_cast<ConstOp>(inst)) {
        attr = cst.getValue();
        type = mlir::cast<ShapedType>(cst.getType());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16.1K bytes
    - Viewed (0)
Back to top