Home
last modified time | relevance | path

Searched refs:n_network_inputs (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/compiler/tf2tensorrt/utils/
Dtrt_shape_optimization_profiles.cc567 const nvinfer1::ICudaEngine* engine, int n_network_inputs) { in SetPrunedMask() argument
568 is_pruned_input_.resize(n_network_inputs); in SetPrunedMask()
570 for (int j = 0; j < n_network_inputs; j++) { in SetPrunedMask()
586 const nvinfer1::ICudaEngine* engine, int n_network_inputs) { in RestoreProfiles() argument
599 if (n_inputs > n_network_inputs) { in RestoreProfiles()
604 SetShapeTensorMask(engine, n_network_inputs); in RestoreProfiles()
606 TF_RETURN_IF_ERROR(SetPrunedMask(engine, n_network_inputs)); in RestoreProfiles()
611 cfg.min.resize(n_network_inputs * 2); in RestoreProfiles()
612 cfg.max.resize(n_network_inputs * 2); in RestoreProfiles()
613 cfg.opt.resize(n_network_inputs * 2); in RestoreProfiles()
[all …]
Dtrt_shape_optimization_profiles.h264 int n_network_inputs);
333 int n_network_inputs);