intel-extension-for-pytorch
53 строки · 1.7 Кб
1"""
2From PyTorch:
3
4Copyright (c) 2016- Facebook, Inc (Adam Paszke)
5Copyright (c) 2014- Facebook, Inc (Soumith Chintala)
6Copyright (c) 2011-2014 Idiap Research Institute (Ronan Collobert)
7Copyright (c) 2012-2014 Deepmind Technologies (Koray Kavukcuoglu)
8Copyright (c) 2011-2012 NEC Laboratories America (Koray Kavukcuoglu)
9Copyright (c) 2011-2013 NYU (Clement Farabet)
10Copyright (c) 2006-2010 NEC Laboratories America (Ronan Collobert, Leon Bottou, Iain Melvin, Jason Weston)
11Copyright (c) 2006 Idiap Research Institute (Samy Bengio)
12Copyright (c) 2001-2004 Idiap Research Institute (Ronan Collobert, Samy Bengio, Johnny Mariethoz)
13
14From Caffe2:
15
16Copyright (c) 2016-present, Facebook Inc. All rights reserved.
17
18All contributions by Facebook:
19Copyright (c) 2016 Facebook Inc.
20
21All contributions by Google:
22Copyright (c) 2015 Google Inc.
23All rights reserved.
24
25All contributions by Yangqing Jia:
26Copyright (c) 2015 Yangqing Jia
27All rights reserved.
28
29All contributions from Caffe:
30Copyright(c) 2013, 2014, 2015, the respective contributors
31All rights reserved.
32
33All other contributions:
34Copyright(c) 2015, 2016 the respective contributors
35All rights reserved.
36
37Caffe2 uses a copyright model similar to Caffe: each contributor holds
38copyright over their contributions to Caffe2. The project versioning records
39all such contribution and copyright details. If a contributor wants to further
40mark their specific copyright on a particular contribution, they should
41indicate their copyright solely in the commit message of the change when it is
42committed.
43
44All rights reserved.
45"""
46
47import torch.nn as nn48
49
50class Net(nn.Module):51def __init__(self):52super(Net, self).__init__()53self.linear = nn.Linear(10, 20)54