切换版块
×
基础软件平台
PyTorch开发
TensorFlow开发
编解码及SDK开发
BANG语言与计算库
开发工具链
MagicMind开发
软件栈百科
云平台集成
硬件产品专区
MLU370系列AI加速卡
MLU270系列AI加速卡
MLU220系列AI加速产品
经验方案交流区
经验案例与实践分享
开发者服务
开发者活动
公告与版务
高校支持
《智能计算系统》
签到
版块
社区
文档
SDK下载
370系列
200系列
开发平台
官网首页
注册
登录
全部版块
基础软件平台
硬件产品专区
经验方案交流区
开发者服务
高校支持
发布新帖
登录/注册
LV.1
Pavone
18
积分
0
赞
2
帖子
12
回复
0
收藏
TA的动态
TA的帖子
TA的回复
keras_python_api_gen_compat_v1 failed (Exit 1)
我的回复:#7iujing 回复检查一下传参的时候变量类型是否和参数的类型相匹配。tensorflow/stream_executor/mlu/mlu_api/lib_ops/mlu_lib_ops.cc: In function 'ten sorflow::Status stream_executor::mlu::lib::CreatePowerDifferenceOp(MLUBaseOp**, MLUTensor*, MLUTensor*, int, MLUTensor*, int)': tensorflow/stream_executor/mlu/mlu_api/lib_ops/mlu_lib_ops.cc:1924:96: error: c annot convert 'MLUTensor** {aka cnmlTensor**}' to 'cnmlTensor*' for argument '4 ' to 'cnmlStatus_t cnmlCreatePluginPowerDifferenceOp(cnmlBaseOp**, cnmlTensor** , int, cnmlTensor*, int)' CNML_RETURN_STATUS(cnmlCreatePluginPowerDifferenceOp(op, inputs_ptr, input3, outputs_ptr, len)); 变量类型就是我之前发的那个函数定义的呀 个人觉得是匹配的吧 input那里也没有报错的呀
0
keras_python_api_gen_compat_v1 failed (Exit 1)
我的回复:好的…还想请教一个问题 为什么同样的定义格式 但是一个是cnmlTensor** 另一个就是cnmlTensor* 了呢?报错语句:cannot convert 'MLUTensor** {aka cnmlTensor**}' to 'cnmlTensor*' for argument '4' to 'cnmlStatus_t cnmlCreatePluginPowerDifferenceOp(cnmlBaseOp**, cnmlTensor**, int, cnmlTensor*, int)'函数的定义:cnmlStatus_t cnmlCreatePluginPowerDifferenceOp( cnmlBaseOp_t *op, cnmlTensor_t* inputs ,int input3,cnmlTensor_t* outputs ,int len)
0
keras_python_api_gen_compat_v1 failed (Exit 1)
我的回复:上面还有很长的一段 不知道和这些有没有关系 但是标红的错误就是正文里的那一个
0
keras_python_api_gen_compat_v1 failed (Exit 1)
我的回复:#1goodchong 回复您好,请把jobs_num改成8之后再编译一下。不好意思 jobs num的值已经是8 了呀 还有可能是什么其他的原因吗
0
Github
开发平台
文档中心
新手必读
官方微信
版权所有 © 2024 寒武纪 Cambricon.com 备案/许可证号:
京ICP备17003415号-1
关闭