Added two function to help deal with subtensors. One function defines the
slices given the idx_list and the list of node inputs. The other function
transforms a slice into a canonical form ( where all entries are positives),
which makes dealing with slices much easier. I've also refractored the
perform of the Subtensor to use the first function ( since is mostly copy
paste from that code anyway)
正在显示
请
注册
或者
登录
后发表评论