Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for compressed_data (0.21 sec)

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

              std::vector<float> compressed_data =
                  BuildSparsityParameterAttribute<float>(result.selected_block_size,
                                                         dense_data.data(), inst,
                                                         &builder, &s_param);
              auto compressed_data_type = RankedTensorType::get(
                  {static_cast<int64_t>(compressed_data.size())},
                  builder.getF32Type());
    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/tests/flatbuffer2mlir/constants_offset.mlir

      func.return %0 : tensor<3x!quant.uniform<u8<1:255>:f32, 1.0>>
    }
    
    func.func @sparse_f32() -> tensor<3x2xf32> {
      // CHECK-LABEL: @sparse_f32
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/constants.mlir

      func.return %0 : tensor<3x!quant.uniform<u8<1:255>:f32, 1.0>>
    }
    
    func.func @sparse_f32() -> tensor<3x2xf32> {
      // CHECK-LABEL: @sparse_f32
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

        return builder
            .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,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

      let arguments = (ins ElementsAttr:$value,
                       SparsityParameterAttr:$s_param,
                       ElementsAttr:$compressed_data);
    
      let results = (outs AnyTensor:$output);
    
      let builders = [
        OpBuilder<(ins "TypedAttr":$value, "SparsityParameterAttr":$s_param,
          "Attribute":$compressed_data),
        [{
          $_state.addTypes(value.getType());
          $_state.addAttribute("value", value);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
Back to top