• Pascal Lamblin's avatar
    In ifelse, convert "then" and "else" to TensorType · 628b9720
    Pascal Lamblin 提交于
    If one of the "then" elements is a TensorType, and the corresponding
    element in the "else" branch is a compatible type, or vice versa,
    convert it into TensorType, so both have the same Type, and the
    output Type can be determined.
    
    This should fix a problem reported by Ian.
    [Commit amended to fix problem spotted by Fred]
    628b9720
名称
最后提交
最后更新
..
compile 正在载入提交数据...
gof 正在载入提交数据...
misc 正在载入提交数据...
sandbox 正在载入提交数据...
scalar 正在载入提交数据...
scan_module 正在载入提交数据...
sparse 正在载入提交数据...
tensor 正在载入提交数据...
tests 正在载入提交数据...
__init__.py 正在载入提交数据...
configdefaults.py 正在载入提交数据...
configparser.py 正在载入提交数据...
gradient.py 正在载入提交数据...
ifelse.py 正在载入提交数据...
printing.py 正在载入提交数据...
raise_op.py 正在载入提交数据...
updates.py 正在载入提交数据...
version.py 正在载入提交数据...