See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope> is optional
| # SPDX-License-Identifier: MIT | |
| # | |
| # Copyright (c) 2023 Intercreate, Inc. | |
| # Author: J.P. Hutchins <jp@intercreate.io> | |
| # | |
| # Python(black)-inspired .clang-format for C repositories | |
| # | |
| # Includes Zephyr and Arm macro compatibility | |
| --- |
| local fn = vim.fn | |
| local api = vim.api | |
| local executable = function(e) | |
| return fn.executable(e) > 0 | |
| end | |
| local opts_info = vim.api.nvim_get_all_options_info() | |
| local opt = setmetatable( | |
| {}, { |
| import os | |
| import sys | |
| import argparse | |
| import numpy as np | |
| import torch | |
| import torch.quantization as tq | |
| from pathlib import Path | |
| from torch import nn | |
| from _collections_abc import Iterable | |
| from collections import OrderedDict |
| import numpy as np | |
| import torch | |
| import torch.quantization as tq | |
| from torch import nn | |
| from copy import deepcopy | |
| ## Manual quantization | |
| # weight, bias, input | |
| kernel_size = 3 |
| #include <iostream> | |
| #include <chrono> | |
| #include <cmath> | |
| #include "dnnl.hpp" | |
| #include "fbgemm/Fbgemm.h" | |
| template<typename T> |
| #!/bin/bash | |
| # | |
| # script to extract ImageNet dataset | |
| # ILSVRC2012_img_train.tar (about 138 GB) | |
| # ILSVRC2012_img_val.tar (about 6.3 GB) | |
| # make sure ILSVRC2012_img_train.tar & ILSVRC2012_img_val.tar in your current directory | |
| # | |
| # https://github.com/facebook/fb.resnet.torch/blob/master/INSTALL.md | |
| # | |
| # train/ |
| {0: 'tench, Tinca tinca', | |
| 1: 'goldfish, Carassius auratus', | |
| 2: 'great white shark, white shark, man-eater, man-eating shark, Carcharodon carcharias', | |
| 3: 'tiger shark, Galeocerdo cuvieri', | |
| 4: 'hammerhead, hammerhead shark', | |
| 5: 'electric ray, crampfish, numbfish, torpedo', | |
| 6: 'stingray', | |
| 7: 'cock', | |
| 8: 'hen', | |
| 9: 'ostrich, Struthio camelus', |
People
:bowtie: |
π :smile: |
π :laughing: |
|---|---|---|
π :blush: |
π :smiley: |
:relaxed: |
π :smirk: |
π :heart_eyes: |
π :kissing_heart: |
π :kissing_closed_eyes: |
π³ :flushed: |
π :relieved: |
π :satisfied: |
π :grin: |
π :wink: |
π :stuck_out_tongue_winking_eye: |
π :stuck_out_tongue_closed_eyes: |
π :grinning: |
π :kissing: |
π :kissing_smiling_eyes: |
π :stuck_out_tongue: |