mirror of
https://github.com/pytorch/pytorch.git
synced 2025-11-04 16:04:58 +08:00
[functorch] Purge some licenses
This commit is contained in:
@ -5,7 +5,9 @@ import torch.nn as nn
|
|||||||
import torch.nn.functional as F
|
import torch.nn.functional as F
|
||||||
from functorch import make_functional, grad_and_value, vmap, combine_state_for_ensemble
|
from functorch import make_functional, grad_and_value, vmap, combine_state_for_ensemble
|
||||||
|
|
||||||
# Adapted from http://willwhitney.com/parallel-training-jax.html
|
# Adapted from http://willwhitney.com/parallel-training-jax.html , which is a
|
||||||
|
# tutorial on Model Ensembling with JAX by Will Whitney.
|
||||||
|
#
|
||||||
# The original code comes with the following citation:
|
# The original code comes with the following citation:
|
||||||
# @misc{Whitney2021Parallelizing,
|
# @misc{Whitney2021Parallelizing,
|
||||||
# author = {William F. Whitney},
|
# author = {William F. Whitney},
|
||||||
|
|||||||
@ -1,14 +1,6 @@
|
|||||||
# This example code was modified from https://github.com/ericjang/maml-jax .
|
# Eric Jang originally wrote an implementation of MAML in JAX
|
||||||
#
|
# (https://github.com/ericjang/maml-jax).
|
||||||
# The original code comes with the following license:
|
# We translated his implementation from JAX to PyTorch.
|
||||||
# https://github.com/ericjang/maml-jax/blob/master/LICENSE
|
|
||||||
# Copyright Eric Jang
|
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
# you may not use this file except in compliance with the License.
|
|
||||||
# You may obtain a copy of the License at
|
|
||||||
#
|
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
#
|
|
||||||
|
|
||||||
import matplotlib.pyplot as plt
|
import matplotlib.pyplot as plt
|
||||||
import math
|
import math
|
||||||
|
|||||||
@ -1,14 +1,6 @@
|
|||||||
# This example code was modified from https://github.com/ericjang/maml-jax .
|
# Eric Jang originally wrote an implementation of MAML in JAX
|
||||||
#
|
# (https://github.com/ericjang/maml-jax).
|
||||||
# The original code comes with the following license:
|
# We translated his implementation from JAX to PyTorch.
|
||||||
# https://github.com/ericjang/maml-jax/blob/master/LICENSE
|
|
||||||
# Copyright Eric Jang
|
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
# you may not use this file except in compliance with the License.
|
|
||||||
# You may obtain a copy of the License at
|
|
||||||
#
|
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
#
|
|
||||||
|
|
||||||
from functorch import grad, vmap
|
from functorch import grad, vmap
|
||||||
import matplotlib.pyplot as plt
|
import matplotlib.pyplot as plt
|
||||||
|
|||||||
@ -1,14 +1,6 @@
|
|||||||
# This example code was modified from https://github.com/ericjang/maml-jax .
|
# Eric Jang originally wrote an implementation of MAML in JAX
|
||||||
#
|
# (https://github.com/ericjang/maml-jax).
|
||||||
# The original code comes with the following license:
|
# We translated his implementation from JAX to PyTorch.
|
||||||
# https://github.com/ericjang/maml-jax/blob/master/LICENSE
|
|
||||||
# Copyright Eric Jang
|
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
# you may not use this file except in compliance with the License.
|
|
||||||
# You may obtain a copy of the License at
|
|
||||||
#
|
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
#
|
|
||||||
|
|
||||||
from functorch import grad, vmap, make_functional
|
from functorch import grad, vmap, make_functional
|
||||||
import matplotlib.pyplot as plt
|
import matplotlib.pyplot as plt
|
||||||
|
|||||||
Reference in New Issue
Block a user