bat默认只能获取到1-9个参数,分别用%1 %2 ... %9引用,如果传给bat的参数大于9个,就必须用shift. 工作需要,要写个bat脚本,获取所有的参数,再将所有的参数传给Java,代码如下: allparam就是获取到的所有参数字符串. @echo off set java=.\jre1.8.0_102\bin\java.exe set jarpath=.\lib\xx.jar set allparam= :param set str=%1 if "%str%"==&qu
@bat调用sql文件 sqlplus user/pass@orcl @F:\factory.sql @将所有的存储过程封装在sql中 factory.sql:exec pro_factory(&identifier,¶m); @pro_factory.pro存储过程封装所有的子存储过程,并设置参数identifier区分不同的存储过程 create or replace procedure pro_factory(identifier in number, param in va
打印pb模型参数及可视化结构import tensorflow as tf from tensorflow.python.framework import graph_util tf.reset_default_graph() # 重置计算图 output_graph_path = '/home/huihua/NewDisk/stuff_detector_v1.pb' with tf.Session() as sess: tf.global_variables_initializer().run