Skip to content

Instantly share code, notes, and snippets.

View name1e5s's full-sized avatar
♨️
Lost in Fontaine

Hai-Hsin name1e5s

♨️
Lost in Fontaine
View GitHub Profile
@name1e5s
name1e5s / RegistrationDeclarations.h
Created December 11, 2022 13:14
pytorch extensible ops
// This file contains all native_functions that can be registered to
// and the schema string that they should be registered with
Tensor _cast_Byte(const Tensor & self, bool non_blocking); // {"schema": "aten::_cast_Byte(Tensor self, bool non_blocking=False) -> Tensor", "dispatch": "False", "default": "True"}
Tensor _cast_Char(const Tensor & self, bool non_blocking); // {"schema": "aten::_cast_Char(Tensor self, bool non_blocking=False) -> Tensor", "dispatch": "False", "default": "True"}
Tensor _cast_Double(const Tensor & self, bool non_blocking); // {"schema": "aten::_cast_Double(Tensor self, bool non_blocking=False) -> Tensor", "dispatch": "False", "default": "True"}
Tensor _cast_Float(const Tensor & self, bool non_blocking); // {"schema": "aten::_cast_Float(Tensor self, bool non_blocking=False) -> Tensor", "dispatch": "False", "default": "True"}
Tensor _cast_Int(const Tensor & self, bool non_blocking); // {"schema": "aten::_cast_Int(Tensor self, bool non_blocking=False) -> Tensor", "dispatch": "False", "de
Go 2 hrs 43 mins █████████████▌░░░░░░░ 64.6%
Scala 43 mins ███▌░░░░░░░░░░░░░░░░░ 17.1%
Bash 26 mins ██▏░░░░░░░░░░░░░░░░░░ 10.5%
Perl 11 mins ▉░░░░░░░░░░░░░░░░░░░░ 4.4%
S 3 mins ▎░░░░░░░░░░░░░░░░░░░░ 1.3%