MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / GetOptions

Function GetOptions

tensorflow/core/kernels/reverse_op_test.cc:176–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174TEST_F(ReverseOpTest, Reverse_1234_complex128) { Reverse_1234<complex128>(); }
175
176static SessionOptions GetOptions(int intra_threads) {
177 SessionOptions opts;
178 opts.config.set_intra_op_parallelism_threads(intra_threads);
179 opts.config.set_inter_op_parallelism_threads(1);
180 return opts;
181}
182
183// Creates a Graph which "reduce"s a 3D float tensor of "num" elements
184// into a scalar.

Callers 3

RunReverseRowsBenchmarkFunction · 0.70
InitMethod · 0.50
DoPrepareMethod · 0.50

Tested by

no test coverage detected