983d44430b900680685e90ccfe3de347f846f9d6,pymc3/blocking.py,ArrayOrdering,__init__,#ArrayOrdering#Any#,24
Before Change
for var in vars:
slc = slice(dim, dim + var.dsize)
self.vmap.append(VarMap(str(var) , slc, var.dshape, var.dtype))
dim += var.dsize
self.dimensions = dim
After Change
raise ValueError("Unnamed variable in ArrayOrdering.")
if name in self._by_name:
raise ValueError("Name of variable not unique: %s." % name)
if not hasattr(var, "dshape") or not hasattr(var, "dsize"):
raise ValueError("Shape of variable not known %s" % name)
slc = slice(size, size + var.dsize)
varmap = VarMap(name, slc, var.dshape, var.dtype)
self.vmap.append(varmap)
self._by_name[name] = varmap
size += var.dsize
self.size = size
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances Project Name: pymc-devs/pymc3
Commit Name: 983d44430b900680685e90ccfe3de347f846f9d6
Time: 2017-07-16
Author: adrian.seyboldt@gmail.com
File Name: pymc3/blocking.py
Class Name: ArrayOrdering
Method Name: __init__
Project Name: HyperGAN/HyperGAN
Commit Name: fc8baee1e472ada2ddd11c8e04fc57e2fe5f7624
Time: 2017-09-28
Author: mikkel@255bits.com
File Name: hypergan/gans/alpha_gan.py
Class Name: AlphaGAN
Method Name: create
Project Name: markovmodel/PyEMMA
Commit Name: eddb91dbe8b2aff9882ae8bd72d6dbce44513e1d
Time: 2017-04-07
Author: m.scherer@fu-berlin.de
File Name: pyemma/_base/serialization/serialization.py
Class Name:
Method Name: load
Project Name: pytorch/audio
Commit Name: 463a8b2c83653ce01698f542e2ff07f4947dce7e
Time: 2021-01-07
Author: 855818+mthrok@users.noreply.github.com
File Name: torchaudio/backend/sox_io_backend.py
Class Name:
Method Name: load