This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from os import makedirs | |
from os.path import dirname, abspath | |
from pathlib import Path | |
from onnxruntime.quantization import quantize_dynamic, QuantType | |
from sentence_transformers import SentenceTransformer, util | |
import torch | |
from torch import nn | |
from transformers.onnx.convert import export_pytorch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import QtQuick 2.12 | |
import QtQuick.Window 2.12 | |
Window { | |
id: msPaint | |
visible: true | |
width: 640 | |
height: 480 | |
title: qsTr("MoeSoftPaint") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.ArrayList; | |
import java.util.List; | |
import java.util.Scanner; | |
enum State { | |
NORMAL,SPACE,SINGLE,DOUBLE,ESCAPE | |
} | |
class Extractor { | |
private State state; // 当前状态 |
NewerOlder