op_sconv.py 文件源码

python
阅读 42 收藏 0 点赞 0 评论 0

项目:fxnn 作者: khaotik 项目源码 文件源码
def make_node(self, s_x_):
        if s_x_.type.dtype != 'float32':
            raise ValueError('Only float32 is allowed')
        ctx_name = infer_context_name(s_x_)
        s_x = as_gpuarray_variable(s_x_, ctx_name)
        return th.Apply(self, [s_x], [s_x.type()])
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号