我正在运行下一个代码:
Found 1 possible inputs: (name=Placeholder, type=string(7), shape=[?])
No variables spotted.
Found 1 possible outputs: (name=dnn/head/predictions/probabilities, op=Softmax)
Found 256974297 (256.97M) const parameters, 0 (0) variable parameters, and 0
control_edges
Op types used: 155 Const, 41 Identity, 32 RegexReplace, 18 Gather, 9
StridedSlice, 9 MatMul, 6 Shape, 6 Reshape, 6 Relu, 5 ConcatV2, 4 BiasAdd, 4
Add, 3 ExpandDims, 3 Pack, 2 NotEqual, 2 Where, 2 Select, 2 StringJoin, 2 Cast,
2 DynamicPartition, 2 Fill, 2 Maximum, 1 Size, 1 Unique, 1 Tanh, 1 Sum, 1
StringToHashBucketFast, 1 StringSplit, 1 Equal, 1 Squeeze, 1 Square, 1
SparseToDense, 1 SparseSegmentSqrtN, 1 SparseFillEmptyRows, 1 Softmax, 1
FloorDiv, 1 Rsqrt, 1 FloorMod, 1 HashTableV2, 1 LookupTableFindV2, 1 Range, 1
Prod, 1 Placeholder, 1 ParallelDynamicStitch, 1 LookupTableSizeV2, 1 Max, 1 Mul
To use with tensorflow/tools/benchmark:benchmark_model try these arguments:
bazel run tensorflow/tools/benchmark:benchmark_model -- --
graph=pruned_saved_model.pb --show_flops --input_layer=Placeholder --
input_layer_type=string --input_layer_shape=-1 --
output_layer=dnn/head/predictions/probabilities
我想要相同的输出,但没有第一行汇总所有行。 进程摘要中是否有任何选项?
答案 0 :(得分:0)
您需要将nway
添加到PROC SUMMARY
呼叫中:
proc summary data=test1 nway;
class id;
output out=test2 max(m1 m2 m3) = m11 m21 m31
sum(s1 s2 s3) = s11 s21 s31;
run;