• Ricardo Vieira's avatar
    Fix Choice and Permutation not respecting the RandomVariable contract · d80c0bf7
    Ricardo Vieira 提交于
    These two RVs don't fall into the traditional RandomVariable contract because they don't have a concept of `batch_ndim`s. The hard-coded ndim params and ndim support were wrong and need to be defined for every node.
    
    * ChoiceRV was removed in favor of ChoiceWithoutReplacementRV which handles the cases without replacement. Those with replacement can be trivially be implemented with other basic RVs.
    * Both Permutation and ChoiceWithoutReplacement now support batch ndims
    * Avoid materializing the implicit arange
    d80c0bf7
名称
最后提交
最后更新
..
conv 正在载入提交数据...
random 正在载入提交数据...
rewriting 正在载入提交数据...
__init__.py 正在载入提交数据...
test_basic.py 正在载入提交数据...
test_blas.py 正在载入提交数据...
test_blas_c.py 正在载入提交数据...
test_blas_scipy.py 正在载入提交数据...
test_blockwise.py 正在载入提交数据...
test_casting.py 正在载入提交数据...
test_complex.py 正在载入提交数据...
test_elemwise.py 正在载入提交数据...
test_extra_ops.py 正在载入提交数据...
test_fft.py 正在载入提交数据...
test_fourier.py 正在载入提交数据...
test_functional.py 正在载入提交数据...
test_gc.py 正在载入提交数据...
test_inplace.py 正在载入提交数据...
test_io.py 正在载入提交数据...
test_keepdims.py 正在载入提交数据...
test_math.py 正在载入提交数据...
test_math_scipy.py 正在载入提交数据...
test_merge.py 正在载入提交数据...
test_nlinalg.py 正在载入提交数据...
test_shape.py 正在载入提交数据...
test_sharedvar.py 正在载入提交数据...
test_slinalg.py 正在载入提交数据...
test_sort.py 正在载入提交数据...
test_special.py 正在载入提交数据...
test_subtensor.py 正在载入提交数据...
test_type.py 正在载入提交数据...
test_type_other.py 正在载入提交数据...
test_utils.py 正在载入提交数据...
test_variable.py 正在载入提交数据...
test_xlogx.py 正在载入提交数据...
utils.py 正在载入提交数据...