Keras 提供的 tf.keras.datasets.mnist.load_data() 函数加载 MNIST 数据集后,返回的数据格式为形如______ Numpy 元组。
A: (x_train, x_test), (y_train, y_test)
B: [x_train, x_test], [y_train, y_test]
C: [x_train, y_train], [x_test, y_test]
D: (x_train, y_train), (x_test, y_test)
A: (x_train, x_test), (y_train, y_test)
B: [x_train, x_test], [y_train, y_test]
C: [x_train, y_train], [x_test, y_test]
D: (x_train, y_train), (x_test, y_test)
举一反三
- 以下是"public static void test(int x, int y)"的方法重载( ) A: public static void Test(int x) B: public static int test(int x, int y) C: public static void test(int y, int x) D: public static void test(int x, int y)
- (6-6)请阅读程序,写出程序运行结果。 class Test{ static int x=10; int y=99; { y=y+10; } static { x=x+5; } { y=y+10; } static { x=x+5; } public Test() {//构造方法 x=x+5; } { System.out.println(x*y); } } public class Demo11 { public static void main(String[] args) { Test t1=new Test(); Test t2=new Test(); } }
- 已有如下程序: public class Test{ public Test(int x,int y,int z){.....} } 下面哪些方法是合法的构造方法重载:( ) A: Test(){} B: int Test(){} C: Test(int x,int y,byte z){} D: void Test(int x,int y,int z){}
- 下列代码的运行结果是______ <script> var x = 1; function test() { var x = 2; y = 3; document.write(x); } test(); document.write(x); document.write(y); </script>
- 以下程序的输出结果是:( )fo = open("text.txt",'w+')x,y ='this is a test','hello'fo.write('{}+{}\n'.format(x,y))print(fo.read())fo.close() A: this is a test hello B: this is a test C: this is a test,hello. D: this is a test+hello