我使用 keras 和 tensorflow 后端构建顺序模型。正如您在图片中看到的,模型使用所有核心,但没有一个是 100%。我想知道,如何让 keras+tf 100% 地利用每个核心。
我试图从头开始构建 tensorflow 并重新安装,但没有帮助。
我必须找到的数字是"a"两位数的奇数.如果错误就会出现
#include <stdio.h>
main ()
{
int a,k;
int count=0;
printf ("input number \n", a);
scanf ("%d", &a);
k = a % 2;
while (a)
{
a /= 10;
count ++;
}
if (k = 1 && count = 2)
printf ("It is \n");
else
printf ("It is not \n");
return (0);
}
Run Code Online (Sandbox Code Playgroud)