id: 1 unit: Status NeuronModel::compute() file: runtime/model.cc start line: 420 end line: 799 size: 351 LOC McCabe index: 47 number of parameters: 2 id: 2 unit: Status PropagateShapes() file: grappler/shape_inference.cc start line: 47 end line: 329 size: 247 LOC McCabe index: 67 number of parameters: 4 id: 3 unit: tensorflow::Status ConvertSubGraphToNeuronNodeDef() file: grappler/convert/convert_graph.cc start line: 146 end line: 464 size: 239 LOC McCabe index: 34 number of parameters: 1 id: 4 unit: Status SegmentGraph() file: grappler/convert/segment.cc start line: 400 end line: 720 size: 231 LOC McCabe index: 57 number of parameters: 6 id: 5 unit: gtl::FlatSet AllowList() file: grappler/auto_mixed_precision_lists.h start line: 107 end line: 353 size: 230 LOC McCabe index: 9 number of parameters: 0 id: 6 unit: def maybe_enable_dynamic_batch_size() file: python/hlo/optimize.py start line: 0 end line: 0 size: 173 LOC McCabe index: 51 number of parameters: 1 id: 7 unit: def inference_graph_from_session() file: python/graph_util.py start line: 0 end line: 0 size: 160 LOC McCabe index: 62 number of parameters: 20 id: 8 unit: def fuse() file: python/fuse.py start line: 0 end line: 0 size: 122 LOC McCabe index: 38 number of parameters: 14 id: 9 unit: def compile_subgraphs() file: python/graph_util.py start line: 0 end line: 0 size: 121 LOC McCabe index: 41 number of parameters: 6 id: 10 unit: Status CreateNeuronGraphDef() file: grappler/convert/convert_graph.cc start line: 750 end line: 887 size: 115 LOC McCabe index: 23 number of parameters: 10 id: 11 unit: Status AutoMixedPrecisionImpl::Optimize() file: grappler/auto_mixed_precision.cc start line: 1284 end line: 1439 size: 107 LOC McCabe index: 18 number of parameters: 0 id: 12 unit: def maybe_rewrite_batch_size() file: python/hlo/optimize.py start line: 0 end line: 0 size: 92 LOC McCabe index: 44 number of parameters: 1 id: 13 unit: Status NeuronBatchSharder::Setup() file: runtime/direct/dynamic_batch.cc start line: 36 end line: 133 size: 85 LOC McCabe index: 18 number of parameters: 2 id: 14 unit: Status AutoMixedPrecisionImpl::ChangeTypeAttrsAndAddCasts() file: grappler/auto_mixed_precision.cc start line: 1925 end line: 1999 size: 72 LOC McCabe index: 18 number of parameters: 1 id: 15 unit: Status GraphTypeTopologyView::InitializeFromGraph() file: grappler/auto_mixed_precision.cc start line: 531 end line: 613 size: 70 LOC McCabe index: 12 number of parameters: 2 id: 16 unit: def convert_to_inference_model() file: python/saved_model.py start line: 0 end line: 0 size: 69 LOC McCabe index: 23 number of parameters: 13 id: 17 unit: def inline_shape_inputs_in_subgraphs() file: python/graph_def_util.py start line: 0 end line: 0 size: 69 LOC McCabe index: 25 number of parameters: 1 id: 18 unit: void Compute() file: runtime/kernels/maxpooling_op.cc start line: 83 end line: 173 size: 68 LOC McCabe index: 10 number of parameters: 1 id: 19 unit: void Compute() file: runtime/kernels/avgpooling_op.cc start line: 82 end line: 172 size: 68 LOC McCabe index: 10 number of parameters: 1 id: 20 unit: static void same_padding_new_num_rows_and_cols() file: runtime/kernels/pooling_utils.h start line: 42 end line: 123 size: 68 LOC McCabe index: 19 number of parameters: 15 id: 21 unit: Status RuntimeGRPC::load() file: runtime/runtime_grpc.cc start line: 188 end line: 264 size: 66 LOC McCabe index: 12 number of parameters: 7 id: 22 unit: def dynamic_inputs_outputs() file: python/graph_util.py start line: 0 end line: 0 size: 65 LOC McCabe index: 40 number of parameters: 2 id: 23 unit: def neuron_get_cc_job() file: python/fuse.py start line: 0 end line: 0 size: 64 LOC McCabe index: 18 number of parameters: 9 id: 24 unit: def trace() file: python/_trace.py start line: 0 end line: 0 size: 62 LOC McCabe index: 15 number of parameters: 3 id: 25 unit: Status RuntimeSession::initialize() file: runtime/runtime_grpc.cc start line: 411 end line: 475 size: 61 LOC McCabe index: 8 number of parameters: 1 id: 26 unit: Status NeuronModel::pre_initialize() file: runtime/model.cc start line: 237 end line: 304 size: 61 LOC McCabe index: 14 number of parameters: 1 id: 27 unit: def run_compiler_on_subgraphs() file: python/graph_def_util.py start line: 0 end line: 0 size: 61 LOC McCabe index: 32 number of parameters: 2 id: 28 unit: void DfsTypeTraversal() file: grappler/auto_mixed_precision.cc start line: 797 end line: 872 size: 60 LOC McCabe index: 20 number of parameters: 5 id: 29 unit: def __init__() file: python/predictor.py start line: 0 end line: 0 size: 59 LOC McCabe index: 19 number of parameters: 9 id: 30 unit: Status AddNode() file: grappler/auto_mixed_precision.cc start line: 331 end line: 397 size: 59 LOC McCabe index: 15 number of parameters: 1 id: 31 unit: Status NeuronEngine::load() file: runtime/engine.cc start line: 275 end line: 332 size: 58 LOC McCabe index: 11 number of parameters: 5 id: 32 unit: Status AutoMixedPrecisionImpl::ForceColorMatchOnRecurrentEdges() file: grappler/auto_mixed_precision.cc start line: 1761 end line: 1818 size: 58 LOC McCabe index: 13 number of parameters: 1 id: 33 unit: Status NeuronModel::initialize() file: runtime/model.cc start line: 306 end line: 368 size: 57 LOC McCabe index: 10 number of parameters: 2 id: 34 unit: def batchify_reshape_dot_reshape() file: python/hlo/optimize.py start line: 0 end line: 0 size: 54 LOC McCabe index: 30 number of parameters: 1 id: 35 unit: tensorflow::Status ConvertSubGraphToNeuron() file: grappler/convert/convert_graph.cc start line: 502 end line: 569 size: 54 LOC McCabe index: 9 number of parameters: 1 id: 36 unit: Status NeuronExecutableInfo::ParseFromNodeDef() file: runtime/direct/executable_info.cc start line: 45 end line: 97 size: 53 LOC McCabe index: 4 number of parameters: 1 id: 37 unit: Status NeuronEngine::initialize() file: runtime/engine.cc start line: 221 end line: 273 size: 52 LOC McCabe index: 8 number of parameters: 4 id: 38 unit: def get_rtr_rewriter() file: python/hlo/optimize.py start line: 0 end line: 0 size: 52 LOC McCabe index: 35 number of parameters: 3 id: 39 unit: void fast_memcpy() file: runtime/tensor_util.cc start line: 47 end line: 99 size: 51 LOC McCabe index: 15 number of parameters: 4 id: 40 unit: def run_grappler_on_subgraphs() file: python/meta_graph_util.py start line: 0 end line: 0 size: 50 LOC McCabe index: 5 number of parameters: 1 id: 41 unit: def whitelist_partition() file: python/graph_util.py start line: 0 end line: 0 size: 50 LOC McCabe index: 21 number of parameters: 6 id: 42 unit: def shape_inference_with_inputs() file: python/graph_def_util.py start line: 0 end line: 0 size: 50 LOC McCabe index: 20 number of parameters: 3 id: 43 unit: def restore_compiler_failures() file: python/graph_def_util.py start line: 0 end line: 0 size: 50 LOC McCabe index: 30 number of parameters: 2 id: 44 unit: Status AutoMixedPrecisionImpl::PrintDebugLogs() file: grappler/auto_mixed_precision.cc start line: 1110 end line: 1162 size: 49 LOC McCabe index: 10 number of parameters: 2 id: 45 unit: void AutoMixedPrecisionImpl::AddClearAndInferToAllowIfBetweenAllow() file: grappler/auto_mixed_precision.cc start line: 1642 end line: 1696 size: 49 LOC McCabe index: 20 number of parameters: 2 id: 46 unit: def nchw_to_nhwc() file: python/graph_util.py start line: 0 end line: 0 size: 48 LOC McCabe index: 17 number of parameters: 1 id: 47 unit: void parse_ninfer() file: runtime/model_config.h start line: 56 end line: 104 size: 47 LOC McCabe index: 14 number of parameters: 4 id: 48 unit: def set_execution_plan() file: python/graph_def_util.py start line: 0 end line: 0 size: 47 LOC McCabe index: 18 number of parameters: 1 id: 49 unit: void ContractEdge() file: grappler/convert/segment.cc start line: 342 end line: 398 size: 47 LOC McCabe index: 11 number of parameters: 3 id: 50 unit: static Status FindConstantFoldableNodes() file: grappler/convert/convert_graph.cc start line: 698 end line: 745 size: 47 LOC McCabe index: 10 number of parameters: 2 id: 51 unit: Status NeuronHostMemory::SetupBuffers() file: runtime/direct/host_memory.cc start line: 128 end line: 173 size: 46 LOC McCabe index: 7 number of parameters: 3 id: 52 unit: def maybe_enable_rtr_shuffle() file: python/hlo/optimize.py start line: 0 end line: 0 size: 45 LOC McCabe index: 30 number of parameters: 1 id: 53 unit: static Status NeuronOpShape() file: runtime/ops/neuron_op.cc start line: 21 end line: 64 size: 44 LOC McCabe index: 8 number of parameters: 1 id: 54 unit: def flip_broadcast_gather() file: python/hlo/optimize.py start line: 0 end line: 0 size: 44 LOC McCabe index: 20 number of parameters: 1 id: 55 unit: void AutoMixedPrecisionImpl::PropagateDenyFwdThroughClearAndInfer() file: grappler/auto_mixed_precision.cc start line: 1593 end line: 1640 size: 44 LOC McCabe index: 14 number of parameters: 1 id: 56 unit: SharedMemoryPtr SharedMemoryAllocator::allocate_shm() file: runtime/shared_memory.cc start line: 166 end line: 208 size: 42 LOC McCabe index: 7 number of parameters: 2 id: 57 unit: def normalize_operators() file: python/graph_def_util.py start line: 0 end line: 0 size: 41 LOC McCabe index: 24 number of parameters: 1 id: 58 unit: void PreProcessSegmentsForResources() file: grappler/convert/convert_graph.cc start line: 621 end line: 674 size: 41 LOC McCabe index: 8 number of parameters: 2 id: 59 unit: void AutoMixedPrecisionImpl::FindFloat32TensorListOpClustersAndDenylistUnsafe() file: grappler/auto_mixed_precision.cc start line: 1482 end line: 1530 size: 41 LOC McCabe index: 9 number of parameters: 2 id: 60 unit: void AutoMixedPrecisionImpl::ForceColorMatchBetweenTensorListOps() file: grappler/auto_mixed_precision.cc start line: 1821 end line: 1861 size: 41 LOC McCabe index: 11 number of parameters: 3 id: 61 unit: Status MarkOpsInFixedShapeContext::Optimize() file: grappler/mark_ops_in_fixed_shape_context.cc start line: 57 end line: 103 size: 41 LOC McCabe index: 7 number of parameters: 3 id: 62 unit: Status Nrt::Load() file: runtime/direct/adaptor.cc start line: 258 end line: 308 size: 40 LOC McCabe index: 4 number of parameters: 4 id: 63 unit: void StableDFS() file: grappler/convert/segment.cc start line: 242 end line: 288 size: 40 LOC McCabe index: 13 number of parameters: 5 id: 64 unit: Status GraphTypeTopologyView::AddEphemeralEdges() file: grappler/auto_mixed_precision.cc start line: 615 end line: 663 size: 40 LOC McCabe index: 9 number of parameters: 1 id: 65 unit: def neuron_decorate_run() file: python/fuse.py start line: 0 end line: 0 size: 39 LOC McCabe index: 9 number of parameters: 1 id: 66 unit: Status FuseSupportedOperators::Init() file: grappler/fuse_supported_operators.cc start line: 43 end line: 81 size: 39 LOC McCabe index: 7 number of parameters: 1 id: 67 unit: void AutoMixedPrecisionImpl::MakeCastsAllowIfAllOutputsAllow() file: grappler/auto_mixed_precision.cc start line: 1882 end line: 1920 size: 39 LOC McCabe index: 8 number of parameters: 1 id: 68 unit: Status NeuronFunction::Run() file: runtime/direct/function.cc start line: 51 end line: 95 size: 38 LOC McCabe index: 5 number of parameters: 2 id: 69 unit: static Status copy_input_tensors() file: runtime/model.cc start line: 166 end line: 202 size: 37 LOC McCabe index: 6 number of parameters: 5 id: 70 unit: Status AutoMixedPrecisionNeuron::Optimize() file: grappler/auto_mixed_precision.cc start line: 2016 end line: 2060 size: 37 LOC McCabe index: 7 number of parameters: 3 id: 71 unit: Status NeuronHostMemory::CopyCPUToInputBuffers() file: runtime/direct/host_memory.cc start line: 175 end line: 211 size: 36 LOC McCabe index: 7 number of parameters: 1 id: 72 unit: Status RuntimeIO::finish() file: runtime/runtime_grpc.cc start line: 94 end line: 129 size: 36 LOC McCabe index: 7 number of parameters: 3 id: 73 unit: def fuse_graph_scope() file: python/fuse.py start line: 0 end line: 0 size: 36 LOC McCabe index: 2 number of parameters: 1 id: 74 unit: static void do_pooling() file: runtime/kernels/pooling_utils.h start line: 125 end line: 159 size: 35 LOC McCabe index: 10 number of parameters: 12 id: 75 unit: def compile_savetemps() file: python/neuron_cc.py start line: 0 end line: 0 size: 35 LOC McCabe index: 11 number of parameters: 5 id: 76 unit: int main() file: tf2hlo/aws_neuron_tf2hlo.cc start line: 42 end line: 81 size: 35 LOC McCabe index: 5 number of parameters: 2 id: 77 unit: static float calculate_sum_and_average() file: runtime/kernels/avgpooling_op.cc start line: 174 end line: 208 size: 34 LOC McCabe index: 8 number of parameters: 8 id: 78 unit: def _run_grappler_on_main_graph() file: python/_trace.py start line: 0 end line: 0 size: 34 LOC McCabe index: 11 number of parameters: 3 id: 79 unit: static tensorflow::Status ProcessSegments() file: grappler/convert/convert_graph.cc start line: 583 end line: 619 size: 34 LOC McCabe index: 5 number of parameters: 4 id: 80 unit: void AutoMixedPrecisionImpl::PropagateAllowThroughClear() file: grappler/auto_mixed_precision.cc start line: 1698 end line: 1736 size: 34 LOC McCabe index: 14 number of parameters: 2 id: 81 unit: static Status check_input_tensors() file: runtime/model.cc start line: 85 end line: 117 size: 33 LOC McCabe index: 2 number of parameters: 2 id: 82 unit: void AutoMixedPrecisionImpl::FindTensorListImplicitFloat32Edges() file: grappler/auto_mixed_precision.cc start line: 1534 end line: 1568 size: 33 LOC McCabe index: 4 number of parameters: 2 id: 83 unit: Status NeuronEngine::start_model_unsafe() file: runtime/engine.cc start line: 435 end line: 468 size: 32 LOC McCabe index: 9 number of parameters: 1 id: 84 unit: Status NeuronHostMemory::CopyOutputBuffersToCPU() file: runtime/direct/host_memory.cc start line: 213 end line: 244 size: 31 LOC McCabe index: 6 number of parameters: 1 id: 85 unit: Status NeuronFunction::SetupOutputs() file: runtime/direct/function.cc start line: 155 end line: 187 size: 31 LOC McCabe index: 6 number of parameters: 4 id: 86 unit: void NeuronEngine::clear() file: runtime/engine.cc start line: 401 end line: 433 size: 31 LOC McCabe index: 9 number of parameters: 1 id: 87 unit: Status Nrt::Execute() file: runtime/direct/adaptor.cc start line: 416 end line: 454 size: 30 LOC McCabe index: 2 number of parameters: 3 id: 88 unit: def _run_shaper_and_fuser() file: python/_trace.py start line: 0 end line: 0 size: 30 LOC McCabe index: 12 number of parameters: 5 id: 89 unit: def lower() file: python/custom_call.py start line: 0 end line: 0 size: 30 LOC McCabe index: 8 number of parameters: 2 id: 90 unit: Status StoreOutputShapes() file: grappler/shape_inference.cc start line: 332 end line: 365 size: 30 LOC McCabe index: 6 number of parameters: 3 id: 91 unit: Status NeuronFunction::MaybeInit() file: runtime/direct/function.cc start line: 97 end line: 126 size: 29 LOC McCabe index: 5 number of parameters: 2 id: 92 unit: Status NeuronEngineManager::init_engines() file: runtime/engine.cc start line: 102 end line: 130 size: 29 LOC McCabe index: 6 number of parameters: 1 id: 93 unit: Status RuntimeGRPC::create_eg() file: runtime/runtime_grpc.cc start line: 158 end line: 186 size: 29 LOC McCabe index: 5 number of parameters: 4 id: 94 unit: static float calculate_max() file: runtime/kernels/maxpooling_op.cc start line: 382 end line: 411 size: 29 LOC McCabe index: 8 number of parameters: 8 id: 95 unit: def report() file: python/performance.py start line: 0 end line: 0 size: 29 LOC McCabe index: 9 number of parameters: 2 id: 96 unit: Status RuntimeIO::setup() file: runtime/runtime_grpc.cc start line: 53 end line: 80 size: 28 LOC McCabe index: 5 number of parameters: 6 id: 97 unit: void ProfilerInterface::start_session() file: runtime/profiler.cc start line: 70 end line: 97 size: 28 LOC McCabe index: 3 number of parameters: 2 id: 98 unit: static Status setup_runtime_io() file: runtime/model.cc start line: 119 end line: 146 size: 28 LOC McCabe index: 4 number of parameters: 7 id: 99 unit: def compile() file: python/saved_model_v2.py start line: 0 end line: 0 size: 28 LOC McCabe index: 10 number of parameters: 4 id: 100 unit: Status NeuronBatchSharder::ShardTensors() file: runtime/direct/dynamic_batch.cc start line: 152 end line: 178 size: 27 LOC McCabe index: 5 number of parameters: 3 id: 101 unit: static std::string NrtErrMsg() file: runtime/direct/adaptor.cc start line: 38 end line: 65 size: 27 LOC McCabe index: 2 number of parameters: 1 id: 102 unit: Status Nrt::AllocHostBuffer() file: runtime/direct/adaptor.cc start line: 165 end line: 196 size: 27 LOC McCabe index: 2 number of parameters: 2 id: 103 unit: static Status get_io_tensor_sizes() file: runtime/model.cc start line: 57 end line: 83 size: 27 LOC McCabe index: 7 number of parameters: 3 id: 104 unit: static Status copy_input_tensors_with_shuffle() file: runtime/model.cc start line: 204 end line: 230 size: 27 LOC McCabe index: 4 number of parameters: 7 id: 105 unit: def build() file: python/fuse.py start line: 0 end line: 0 size: 27 LOC McCabe index: 13 number of parameters: 2 id: 106 unit: void Compile() file: tf2hlo/custom_op.cc start line: 50 end line: 77 size: 27 LOC McCabe index: 4 number of parameters: 1 id: 107 unit: def maybe_compute_io_tensors() file: python/_trace.py start line: 0 end line: 0 size: 26 LOC McCabe index: 15 number of parameters: 5 id: 108 unit: def _fork_compiler() file: python/graph_util.py start line: 0 end line: 0 size: 26 LOC McCabe index: 6 number of parameters: 4 id: 109 unit: def convert_shape_to_constant() file: python/graph_def_util.py start line: 0 end line: 0 size: 26 LOC McCabe index: 7 number of parameters: 1 id: 110 unit: Status NeuronEngineManager::initialize() file: runtime/engine.cc start line: 74 end line: 100 size: 25 LOC McCabe index: 7 number of parameters: 2 id: 111 unit: Status NeuronEngineManager::apply_for_engine() file: runtime/engine.cc start line: 188 end line: 219 size: 25 LOC McCabe index: 6 number of parameters: 5 id: 112 unit: Status tensor_shuffle() file: runtime/tensor_util.cc start line: 135 end line: 159 size: 25 LOC McCabe index: 4 number of parameters: 3 id: 113 unit: def profile() file: python/saved_model.py start line: 0 end line: 0 size: 25 LOC McCabe index: 8 number of parameters: 10 id: 114 unit: def encode_inferred_shapes() file: python/graph_def_util.py start line: 0 end line: 0 size: 25 LOC McCabe index: 13 number of parameters: 2 id: 115 unit: gtl::FlatSet InferList() file: grappler/auto_mixed_precision_lists.h start line: 382 end line: 408 size: 25 LOC McCabe index: 1 number of parameters: 0 id: 116 unit: NodeDef AutoMixedPrecisionImpl::BuildCastNode() file: grappler/auto_mixed_precision.cc start line: 1071 end line: 1095 size: 25 LOC McCabe index: 5 number of parameters: 3 id: 117 unit: Status NeuronFunction::SetupInputs() file: runtime/direct/function.cc start line: 128 end line: 153 size: 24 LOC McCabe index: 5 number of parameters: 3 id: 118 unit: Status Nrt::BufferMapAdd() file: runtime/direct/adaptor.cc start line: 364 end line: 391 size: 24 LOC McCabe index: 1 number of parameters: 3 id: 119 unit: Status SharedMemoryAllocator::initialize() file: runtime/shared_memory.cc start line: 141 end line: 164 size: 24 LOC McCabe index: 3 number of parameters: 2 id: 120 unit: def maybe_dump_hlo_snapshots_with_inputs_outputs() file: python/_trace.py start line: 0 end line: 0 size: 24 LOC McCabe index: 9 number of parameters: 2 id: 121 unit: def _rtr_transform() file: python/hlo/optimize.py start line: 0 end line: 0 size: 24 LOC McCabe index: 6 number of parameters: 4 id: 122 unit: def set_dynamic_batch_size() file: python/graph_util.py start line: 0 end line: 0 size: 24 LOC McCabe index: 16 number of parameters: 1 id: 123 unit: def _run_neuron_cc_with_dump_prefix() file: python/neuron_cc_hlo.py start line: 0 end line: 0 size: 24 LOC McCabe index: 3 number of parameters: 2 id: 124 unit: void ProfilerInterface::stop_session() file: runtime/profiler.cc start line: 99 end line: 121 size: 23 LOC McCabe index: 5 number of parameters: 0 id: 125 unit: explicit MaxPoolingNoMaskOp() file: runtime/kernels/maxpooling_op.cc start line: 54 end line: 82 size: 23 LOC McCabe index: 2 number of parameters: 1 id: 126 unit: static float special_case_function() file: runtime/kernels/maxpooling_op.cc start line: 413 end line: 437 size: 23 LOC McCabe index: 6 number of parameters: 6 id: 127 unit: def _infer_input_shapes() file: python/saved_model.py start line: 0 end line: 0 size: 23 LOC McCabe index: 10 number of parameters: 3 id: 128 unit: def _io_tensor_info() file: python/graph_util.py start line: 0 end line: 0 size: 23 LOC McCabe index: 5 number of parameters: 1 id: 129 unit: def hlo_to_neff() file: python/neuron_cc_hlo.py start line: 0 end line: 0 size: 23 LOC McCabe index: 4 number of parameters: 3 id: 130 unit: Status ValidateLists() file: grappler/auto_mixed_precision.cc start line: 895 end line: 917 size: 23 LOC McCabe index: 5 number of parameters: 4 id: 131 unit: Status CompileGraph() file: tf2hlo/compile.cc start line: 31 end line: 58 size: 23 LOC McCabe index: 2 number of parameters: 3 id: 132 unit: Status NeuronExecutableInfo::ParseModelConfig() file: runtime/direct/executable_info.cc start line: 106 end line: 127 size: 22 LOC McCabe index: 2 number of parameters: 1 id: 133 unit: static void init_basic_info() file: runtime/kernels/pooling_utils.h start line: 6 end line: 27 size: 22 LOC McCabe index: 2 number of parameters: 11 id: 134 unit: def _get_signature_def() file: python/saved_model_util.py start line: 0 end line: 0 size: 22 LOC McCabe index: 5 number of parameters: 3 id: 135 unit: std::pair GetDeviceGPUArch() file: grappler/auto_mixed_precision.cc start line: 66 end line: 89 size: 22 LOC McCabe index: 6 number of parameters: 1 id: 136 unit: void NeuronEngine::unload() file: runtime/engine.cc start line: 334 end line: 358 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 137 unit: def __init__() file: python/hlo/optimize.py start line: 0 end line: 0 size: 21 LOC McCabe index: 6 number of parameters: 2 id: 138 unit: def constant_folding() file: python/hlo/optimize.py start line: 0 end line: 0 size: 21 LOC McCabe index: 9 number of parameters: 1 id: 139 unit: def __init__() file: python/performance.py start line: 0 end line: 0 size: 21 LOC McCabe index: 4 number of parameters: 3 id: 140 unit: bool CanContractEdge() file: grappler/convert/segment.cc start line: 290 end line: 339 size: 21 LOC McCabe index: 4 number of parameters: 2 id: 141 unit: void AutoMixedPrecisionImpl::ConvertBatchNormOpsToV2() file: grappler/auto_mixed_precision.cc start line: 1248 end line: 1268 size: 21 LOC McCabe index: 6 number of parameters: 0 id: 142 unit: void parse_timeout() file: runtime/model_config.h start line: 35 end line: 54 size: 20 LOC McCabe index: 4 number of parameters: 1 id: 143 unit: def get_package_data() file: setup.py start line: 0 end line: 0 size: 20 LOC McCabe index: 2 number of parameters: 0 id: 144 unit: def compile_savetemps() file: python/neuron_cc_hlo.py start line: 0 end line: 0 size: 20 LOC McCabe index: 5 number of parameters: 5 id: 145 unit: def hlo_opt_to_neff_bytes() file: python/neuron_cc_hlo.py start line: 0 end line: 0 size: 20 LOC McCabe index: 5 number of parameters: 2 id: 146 unit: Status BackEdgeHelper::Remove() file: grappler/shape_inference_helpers.cc start line: 26 end line: 45 size: 20 LOC McCabe index: 7 number of parameters: 1 id: 147 unit: Status Nrt::AttachCpuToBuffer() file: runtime/direct/adaptor.cc start line: 145 end line: 163 size: 19 LOC McCabe index: 2 number of parameters: 3 id: 148 unit: Status Nrt::CopyCpuToBuffer() file: runtime/direct/adaptor.cc start line: 210 end line: 232 size: 19 LOC McCabe index: 1 number of parameters: 4 id: 149 unit: Status Nrt::CopyBufferToCpu() file: runtime/direct/adaptor.cc start line: 234 end line: 256 size: 19 LOC McCabe index: 1 number of parameters: 4 id: 150 unit: Status Nrt::AllocBufferMap() file: runtime/direct/adaptor.cc start line: 329 end line: 351 size: 19 LOC McCabe index: 2 number of parameters: 1 id: 151 unit: explicit AvgPoolingOp() file: runtime/kernels/avgpooling_op.cc start line: 57 end line: 80 size: 19 LOC McCabe index: 2 number of parameters: 1 id: 152 unit: static Status allocate_outputs() file: runtime/model.cc start line: 371 end line: 389 size: 19 LOC McCabe index: 3 number of parameters: 4 id: 153 unit: def _check_signature_arguments() file: python/saved_model_util.py start line: 0 end line: 0 size: 19 LOC McCabe index: 3 number of parameters: 4 id: 154 unit: xla::StatusOr MergeInferredShapes() file: grappler/shape_inference.cc start line: 396 end line: 415 size: 19 LOC McCabe index: 4 number of parameters: 2 id: 155 unit: static void UpdateList() file: grappler/auto_mixed_precision_lists.h start line: 50 end line: 69 size: 19 LOC McCabe index: 9 number of parameters: 2 id: 156 unit: Status PerformStaticShapeInferenceBeforeEncapsulation() file: grappler/static_shape_inference.cc start line: 34 end line: 55 size: 19 LOC McCabe index: 2 number of parameters: 1 id: 157 unit: Status Nrt::BufferMapGet() file: runtime/direct/adaptor.cc start line: 393 end line: 414 size: 18 LOC McCabe index: 1 number of parameters: 3 id: 158 unit: Status RuntimeGRPC::infer_wait() file: runtime/runtime_grpc.cc start line: 321 end line: 339 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 159 unit: def model_conversion_report() file: python/utils.py start line: 0 end line: 0 size: 18 LOC McCabe index: 3 number of parameters: 3 id: 160 unit: def erase_large_constants() file: python/graph_def_util.py start line: 0 end line: 0 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 161 unit: Status FuseSupportedOperators::Optimize() file: grappler/fuse_supported_operators.cc start line: 83 end line: 100 size: 18 LOC McCabe index: 3 number of parameters: 3 id: 162 unit: Status StaticShapeInference::Optimize() file: grappler/static_shape_inference.cc start line: 57 end line: 74 size: 18 LOC McCabe index: 2 number of parameters: 3 id: 163 unit: DataType GetDataType() file: grappler/auto_mixed_precision.cc start line: 159 end line: 176 size: 18 LOC McCabe index: 6 number of parameters: 2 id: 164 unit: bool HasInputOrOutputRefs() file: grappler/auto_mixed_precision.cc start line: 919 end line: 936 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 165 unit: Status NeuronFunction::MaybeShuffle() file: runtime/direct/function.cc start line: 189 end line: 205 size: 17 LOC McCabe index: 4 number of parameters: 2 id: 166 unit: Status RuntimeGRPC::initialize() file: runtime/runtime_grpc.cc start line: 131 end line: 147 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 167 unit: static void special_case() file: runtime/kernels/pooling_utils.h start line: 161 end line: 179 size: 17 LOC McCabe index: 5 number of parameters: 8 id: 168 unit: static Status copy_input_tensors() file: runtime/model.cc start line: 148 end line: 164 size: 17 LOC McCabe index: 4 number of parameters: 5 id: 169 unit: def fold_no_op_instructions() file: python/hlo/optimize.py start line: 0 end line: 0 size: 17 LOC McCabe index: 8 number of parameters: 1 id: 170 unit: def engrave_io_tensors() file: python/hlo/optimize.py start line: 0 end line: 0 size: 17 LOC McCabe index: 12 number of parameters: 1 id: 171 unit: def graph_def_to_hlo() file: python/neuron_cc_hlo.py start line: 0 end line: 0 size: 17 LOC McCabe index: 1 number of parameters: 3 id: 172 unit: def list_operators() file: python/neuron_cc.py start line: 0 end line: 0 size: 17 LOC McCabe index: 4 number of parameters: 0 id: 173 unit: gtl::FlatSet AllowList() file: grappler/auto_mixed_precision_lists.h start line: 361 end line: 380 size: 17 LOC McCabe index: 1 number of parameters: 0 id: 174 unit: gtl::FlatSet DenyList() file: grappler/auto_mixed_precision_lists.h start line: 410 end line: 428 size: 17 LOC McCabe index: 1 number of parameters: 0 id: 175 unit: void SimpleGraph::AddEdge() file: grappler/convert/segment.cc start line: 178 end line: 194 size: 17 LOC McCabe index: 2 number of parameters: 4 id: 176 unit: void GetSubGraphIncomingEdges() file: grappler/convert/convert_graph.cc start line: 65 end line: 81 size: 17 LOC McCabe index: 5 number of parameters: 3 id: 177 unit: static tensorflow::Status FillSubGraphEdgeSets() file: grappler/convert/convert_graph.cc start line: 480 end line: 498 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 178 unit: bool AutoMixedPrecisionImpl::IsOnDevice() file: grappler/auto_mixed_precision.cc start line: 1176 end line: 1192 size: 17 LOC McCabe index: 4 number of parameters: 2 id: 179 unit: void AppendMainFlags() file: tf2hlo/flags.cc start line: 21 end line: 37 size: 17 LOC McCabe index: 1 number of parameters: 2 id: 180 unit: Status NeuronEngine::infer() file: runtime/engine.cc start line: 371 end line: 386 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 181 unit: Status subprocess_run() file: runtime/profiler.cc start line: 30 end line: 45 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 182 unit: static float special_case_function() file: runtime/kernels/avgpooling_op.cc start line: 210 end line: 227 size: 16 LOC McCabe index: 4 number of parameters: 6 id: 183 unit: def compile() file: python/predictor.py start line: 0 end line: 0 size: 16 LOC McCabe index: 6 number of parameters: 6 id: 184 unit: def _normalize_tags() file: python/saved_model.py start line: 0 end line: 0 size: 16 LOC McCabe index: 9 number of parameters: 2 id: 185 unit: def _find_pad_ops_preceding_conv2d() file: python/_trace.py start line: 0 end line: 0 size: 16 LOC McCabe index: 10 number of parameters: 1 id: 186 unit: def dead_code_elimination() file: python/hlo/optimize.py start line: 0 end line: 0 size: 16 LOC McCabe index: 9 number of parameters: 1 id: 187 unit: def dot() file: python/hlo/instruction.py start line: 0 end line: 0 size: 16 LOC McCabe index: 9 number of parameters: 1 id: 188 unit: def get_io_names_from_signature_def() file: python/saved_model_util.py start line: 0 end line: 0 size: 16 LOC McCabe index: 9 number of parameters: 6 id: 189 unit: def prefix_node_names() file: python/graph_def_util.py start line: 0 end line: 0 size: 16 LOC McCabe index: 7 number of parameters: 1 id: 190 unit: gtl::FlatSet ClearList() file: grappler/auto_mixed_precision_lists.h start line: 430 end line: 445 size: 16 LOC McCabe index: 1 number of parameters: 0 id: 191 unit: void SimpleGraph::RemoveEdge() file: grappler/convert/segment.cc start line: 200 end line: 215 size: 16 LOC McCabe index: 5 number of parameters: 1 id: 192 unit: void GetSubGraphOutgoingEdges() file: grappler/convert/convert_graph.cc start line: 84 end line: 99 size: 16 LOC McCabe index: 5 number of parameters: 3 id: 193 unit: bool SetDataType() file: grappler/auto_mixed_precision.cc start line: 180 end line: 195 size: 16 LOC McCabe index: 6 number of parameters: 3 id: 194 unit: void AutoMixedPrecisionImpl::AddAllowlistOps() file: grappler/auto_mixed_precision.cc start line: 1570 end line: 1586 size: 16 LOC McCabe index: 8 number of parameters: 1 id: 195 unit: bool AutoMixedPrecisionImpl::NodeImplicitlyReadsNonResourceVariable() file: grappler/auto_mixed_precision.cc start line: 1863 end line: 1878 size: 16 LOC McCabe index: 9 number of parameters: 1 id: 196 unit: Status Nrt::AllocEmptyBuffer() file: runtime/direct/adaptor.cc start line: 129 end line: 143 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 197 unit: static Status wait_grpc_cq() file: runtime/runtime_grpc.cc start line: 266 end line: 280 size: 15 LOC McCabe index: 4 number of parameters: 2 id: 198 unit: void ProfilerInterface::dump_info() file: runtime/profiler.cc start line: 54 end line: 68 size: 15 LOC McCabe index: 2 number of parameters: 2 id: 199 unit: void TF_InitGraph() file: runtime/init.cc start line: 109 end line: 124 size: 15 LOC McCabe index: 2 number of parameters: 2 id: 200 unit: def shape_inference() file: python/graph_util.py start line: 0 end line: 0 size: 15 LOC McCabe index: 5 number of parameters: 3 id: 201 unit: def amp_optimization() file: python/graph_util.py start line: 0 end line: 0 size: 15 LOC McCabe index: 4 number of parameters: 2 id: 202 unit: def _io_config() file: python/graph_util.py start line: 0 end line: 0 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 203 unit: def parse_neuron_cc_flags() file: python/utils.py start line: 0 end line: 0 size: 15 LOC McCabe index: 4 number of parameters: 2 id: 204 unit: int GetCudaVersion() file: grappler/auto_mixed_precision.cc start line: 944 end line: 958 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 205 unit: int GetCudnnVersion() file: grappler/auto_mixed_precision.cc start line: 960 end line: 974 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 206 unit: void AutoMixedPrecisionImpl::RemoveAllowsetWithFp32() file: grappler/auto_mixed_precision.cc start line: 1741 end line: 1755 size: 15 LOC McCabe index: 7 number of parameters: 1 id: 207 unit: Status Nrt::GetCoreCount() file: runtime/direct/adaptor.cc start line: 104 end line: 117 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 208 unit: Status Nrt::Unload() file: runtime/direct/adaptor.cc start line: 310 end line: 327 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 209 unit: Status NeuronDevice::MakeTensorFromProto() file: runtime/device.cc start line: 88 end line: 101 size: 14 LOC McCabe index: 4 number of parameters: 3 id: 210 unit: void NeuronDevice::CopyTensorInSameDevice() file: runtime/device.cc start line: 103 end line: 116 size: 14 LOC McCabe index: 2 number of parameters: 4 id: 211 unit: def get_cores_from_executable() file: python/neff_util.py start line: 0 end line: 0 size: 14 LOC McCabe index: 7 number of parameters: 1 id: 212 unit: def from_graph_def() file: python/predictor.py start line: 0 end line: 0 size: 14 LOC McCabe index: 4 number of parameters: 8 id: 213 unit: def _embed_inputs_outputs_into_hlo_snapshot() file: python/_trace.py start line: 0 end line: 0 size: 14 LOC McCabe index: 4 number of parameters: 3 id: 214 unit: def rewrite_batch_size() file: python/hlo/optimize.py start line: 0 end line: 0 size: 14 LOC McCabe index: 7 number of parameters: 3 id: 215 unit: def _get_int32_values() file: python/graph_util.py start line: 0 end line: 0 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 216 unit: def most_popular_namescope() file: python/utils.py start line: 0 end line: 0 size: 14 LOC McCabe index: 7 number of parameters: 1 id: 217 unit: def change_grappler_logging_level_according_to_cc_flags() file: python/utils.py start line: 0 end line: 0 size: 14 LOC McCabe index: 2 number of parameters: 0 id: 218 unit: def neuron_node_is_compilable() file: python/graph_def_util.py start line: 0 end line: 0 size: 14 LOC McCabe index: 9 number of parameters: 1 id: 219 unit: static void AddTensorListOps() file: grappler/auto_mixed_precision_lists.h start line: 72 end line: 89 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 220 unit: Status Main() file: tf2hlo/compile.cc start line: 68 end line: 85 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 221 unit: Status NeuronDataParallelExecutable::AddProfilingExecutable() file: runtime/direct/executable.cc start line: 84 end line: 97 size: 13 LOC McCabe index: 2 number of parameters: 3 id: 222 unit: Status Nrt::Init() file: runtime/direct/adaptor.cc start line: 87 end line: 102 size: 13 LOC McCabe index: 1 number of parameters: 0 id: 223 unit: Status Nrt::ProfileStart() file: runtime/direct/adaptor.cc start line: 456 end line: 468 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 224 unit: Status Nrt::ProfileStop() file: runtime/direct/adaptor.cc start line: 470 end line: 482 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 225 unit: std::pair NeuronCorePlacer::UnsafeGetCoreRange() file: runtime/direct/placer.cc start line: 167 end line: 179 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 226 unit: Status NeuronEngine::get_active() file: runtime/engine.cc start line: 486 end line: 498 size: 13 LOC McCabe index: 2 number of parameters: 3 id: 227 unit: void SharedMemoryAllocator::free_shm_unsafe() file: runtime/shared_memory.cc start line: 210 end line: 222 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 228 unit: Status RuntimeGRPC::shm_map() file: runtime/runtime_grpc.cc start line: 384 end line: 396 size: 13 LOC McCabe index: 2 number of parameters: 3 id: 229 unit: void Compute() file: runtime/kernels/islibmodeavailable_op.cc start line: 27 end line: 40 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 230 unit: def simple_save() file: python/saved_model.py start line: 0 end line: 0 size: 13 LOC McCabe index: 7 number of parameters: 7 id: 231 unit: def set_core_binding() file: python/saved_model.py start line: 0 end line: 0 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 232 unit: def inspect_core_binding() file: python/saved_model.py start line: 0 end line: 0 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 233 unit: def _make_keras_model_savable() file: python/_trace.py start line: 0 end line: 0 size: 13 LOC McCabe index: 6 number of parameters: 2 id: 234 unit: def _reestablish_program_shapes() file: python/hlo/optimize.py start line: 0 end line: 0 size: 13 LOC McCabe index: 9 number of parameters: 1 id: 235 unit: def maybe_relax_placeholder_shapes() file: python/graph_def_util.py start line: 0 end line: 0 size: 13 LOC McCabe index: 9 number of parameters: 1 id: 236 unit: Status BackEdgeHelper::Replace() file: grappler/shape_inference_helpers.cc start line: 52 end line: 64 size: 13 LOC McCabe index: 4 number of parameters: 0 id: 237 unit: Status PreProcessingGraphDef() file: grappler/convert/convert_graph.cc start line: 679 end line: 696 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 238 unit: Status NeuronDataParallelExecutable::AddExecutable() file: runtime/direct/executable.cc start line: 70 end line: 82 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 239 unit: int32_t NeuronCorePlacer::UnsafeGetNeuronCoreId() file: runtime/direct/placer.cc start line: 181 end line: 192 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 240 unit: void NeuronEngineManager::clear_if_empty() file: runtime/engine.cc start line: 148 end line: 159 size: 12 LOC McCabe index: 4 number of parameters: 0 id: 241 unit: Status NeuronEngine::infer_with_profiling() file: runtime/engine.cc start line: 388 end line: 399 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 242 unit: static std::string remove_pattern() file: runtime/env.cc start line: 41 end line: 52 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 243 unit: explicit ConstantOp() file: runtime/kernels/constant_op.cc start line: 24 end line: 35 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 244 unit: def get_model_config() file: python/neff_util.py start line: 0 end line: 0 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 245 unit: def return_feed_dict() file: python/predictor.py start line: 0 end line: 0 size: 12 LOC McCabe index: 4 number of parameters: 2 id: 246 unit: def _get_output_names() file: python/_trace.py start line: 0 end line: 0 size: 12 LOC McCabe index: 8 number of parameters: 1 id: 247 unit: def rewrite_kernel() file: python/hlo/optimize.py start line: 0 end line: 0 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 248 unit: Status InferShapes() file: grappler/shape_inference.cc start line: 369 end line: 394 size: 12 LOC McCabe index: 1 number of parameters: 4 id: 249 unit: bool HasFastFP16Support() file: grappler/auto_mixed_precision.cc start line: 96 end line: 107 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 250 unit: Status Init() file: grappler/auto_mixed_precision.cc start line: 275 end line: 286 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 251 unit: bool AutoMixedPrecisionImpl::NodeHasF16KernelForTypeAttr() file: grappler/auto_mixed_precision.cc start line: 1097 end line: 1108 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 252 unit: bool AutoMixedPrecisionImpl::IsSourceOrSinkOp() file: grappler/auto_mixed_precision.cc start line: 1464 end line: 1475 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 253 unit: int GetNumGPUs() file: grappler/auto_mixed_precision.cc start line: 2001 end line: 2012 size: 12 LOC McCabe index: 5 number of parameters: 1 id: 254 unit: Status NeuronFunction::RunWithIO() file: runtime/direct/function.cc start line: 207 end line: 217 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 255 unit: Status Nrt::FreeBuffer() file: runtime/direct/adaptor.cc start line: 198 end line: 208 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 256 unit: explicit NeuronRegistrar() file: runtime/device.cc start line: 164 end line: 178 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 257 unit: Status RuntimeIO::copy_input_tensors() file: runtime/runtime_grpc.cc start line: 82 end line: 92 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 258 unit: Status RuntimeGRPC::start_ping() file: runtime/runtime_grpc.cc start line: 282 end line: 294 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 259 unit: static Status allocate_outputs() file: runtime/model.cc start line: 400 end line: 410 size: 11 LOC McCabe index: 2 number of parameters: 4 id: 260 unit: def estimate_cache_demand() file: python/hlo/optimize.py start line: 0 end line: 0 size: 11 LOC McCabe index: 7 number of parameters: 1 id: 261 unit: def _wait_compiler() file: python/graph_util.py start line: 0 end line: 0 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 262 unit: def track() file: python/fuse.py start line: 0 end line: 0 size: 11 LOC McCabe index: 8 number of parameters: 2 id: 263 unit: std::pair ParseTensorName() file: grappler/convert/convert_graph.cc start line: 102 end line: 112 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 264 unit: tensorflow::Status BuildNodeMap() file: grappler/convert/convert_graph.cc start line: 114 end line: 124 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 265 unit: string DebugString() file: grappler/auto_mixed_precision.cc start line: 138 end line: 148 size: 11 LOC McCabe index: 3 number of parameters: 0 id: 266 unit: DataTypeSet AllowedDataTypes() file: grappler/auto_mixed_precision.cc start line: 874 end line: 884 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 267 unit: std::unique_ptr get_mixed_precision_lists() file: grappler/auto_mixed_precision.cc start line: 999 end line: 1010 size: 11 LOC McCabe index: 4 number of parameters: 0 id: 268 unit: Status Nrt::FreeBufferMap() file: runtime/direct/adaptor.cc start line: 353 end line: 362 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 269 unit: void NeuronEngineManager::clear() file: runtime/engine.cc start line: 161 end line: 170 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 270 unit: void NeuronEngineManager::clear_from_global_state() file: runtime/engine.cc start line: 172 end line: 181 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 271 unit: Status NeuronEngine::start_ping() file: runtime/engine.cc start line: 360 end line: 369 size: 10 LOC McCabe index: 3 number of parameters: 0 id: 272 unit: static std::string gen_shm_path() file: runtime/shared_memory.cc start line: 56 end line: 65 size: 10 LOC McCabe index: 3 number of parameters: 0 id: 273 unit: std::string SharedMemoryBuffer::debug_string() file: runtime/shared_memory.cc start line: 127 end line: 136 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 274 unit: void SharedMemoryAllocator::DeallocateRaw() file: runtime/shared_memory.cc start line: 248 end line: 257 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 275 unit: SharedMemoryPtr SharedMemoryAllocator::get_shm_ptr() file: runtime/shared_memory.cc start line: 274 end line: 283 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 276 unit: Status tensor_memcpy() file: runtime/tensor_util.cc start line: 106 end line: 115 size: 10 LOC McCabe index: 2 number of parameters: 3 id: 277 unit: static Status tensor_shuffle_impl() file: runtime/tensor_util.cc start line: 124 end line: 133 size: 10 LOC McCabe index: 2 number of parameters: 3 id: 278 unit: Status RuntimeGRPC::shm_unmap() file: runtime/runtime_grpc.cc start line: 398 end line: 407 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 279 unit: void NeuronOp::Compute() file: runtime/kernels/neuron_op.cc start line: 31 end line: 45 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 280 unit: def from_saved_model() file: python/predictor.py start line: 0 end line: 0 size: 10 LOC McCabe index: 2 number of parameters: 8 id: 281 unit: def _saved_model_pb_neuron_nodes() file: python/saved_model.py start line: 0 end line: 0 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 282 unit: def _wrap_graph_def_as_concrete_function() file: python/_trace.py start line: 0 end line: 0 size: 10 LOC McCabe index: 5 number of parameters: 2 id: 283 unit: def _all_arrays_equal() file: python/hlo/optimize.py start line: 0 end line: 0 size: 10 LOC McCabe index: 5 number of parameters: 1 id: 284 unit: def _dynamic_batch_size_axis() file: python/fuse.py start line: 0 end line: 0 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 285 unit: Status ShapeHandleToTensorShape() file: grappler/shape_inference.cc start line: 34 end line: 45 size: 10 LOC McCabe index: 3 number of parameters: 3 id: 286 unit: absl::flat_hash_set GetTypeAttrs() file: grappler/auto_mixed_precision.cc start line: 291 end line: 300 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 287 unit: const absl::optional GraphTypeTopologyView::GetNodeIndex() file: grappler/auto_mixed_precision.cc start line: 689 end line: 698 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 288 unit: bool ShouldIgnorePerformance() file: grappler/auto_mixed_precision.cc start line: 1273 end line: 1282 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 289 unit: static void ToXlaShape() file: tf2hlo/custom_op.cc start line: 36 end line: 45 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 290 unit: Status Nrt::Close() file: runtime/direct/adaptor.cc start line: 119 end line: 127 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 291 unit: size_t SharedMemoryAllocator::AllocatedSizeSlow() file: runtime/shared_memory.cc start line: 259 end line: 267 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 292 unit: Status CreateDevices() file: runtime/device.cc start line: 150 end line: 158 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 293 unit: Status RuntimeGRPC::post_start() file: runtime/runtime_grpc.cc start line: 296 end line: 304 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 294 unit: Status RuntimeGRPC::post_stop() file: runtime/runtime_grpc.cc start line: 350 end line: 358 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 295 unit: void Semaphore::Acquire() file: runtime/semaphore.cc start line: 34 end line: 44 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 296 unit: int stoi_no_throw() file: runtime/env.cc start line: 31 end line: 39 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 297 unit: std::string mangle_op_name() file: runtime/env.cc start line: 84 end line: 92 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 298 unit: static void valid_padding_new_num_rows_and_cols() file: runtime/kernels/pooling_utils.h start line: 29 end line: 40 size: 9 LOC McCabe index: 1 number of parameters: 8 id: 299 unit: def _get_signature_def() file: python/saved_model.py start line: 0 end line: 0 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 300 unit: def call() file: python/_trace.py start line: 0 end line: 0 size: 9 LOC McCabe index: 6 number of parameters: 3 id: 301 unit: def _build_optimize_graph_args() file: python/_trace.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 302 unit: def build_signature_def() file: python/meta_graph_util.py start line: 0 end line: 0 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 303 unit: def get_io_ops() file: python/hlo/optimize.py start line: 0 end line: 0 size: 9 LOC McCabe index: 6 number of parameters: 1 id: 304 unit: def get_io_tensors() file: python/hlo/optimize.py start line: 0 end line: 0 size: 9 LOC McCabe index: 5 number of parameters: 1 id: 305 unit: def compiled_graph_op_counts() file: python/graph_util.py start line: 0 end line: 0 size: 9 LOC McCabe index: 4 number of parameters: 1 id: 306 unit: def build_placeholder_mapping() file: python/fuse.py start line: 0 end line: 0 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 307 unit: def _track_performance() file: python/performance.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 308 unit: def compiled_graph_op_counts() file: python/graph_def_util.py start line: 0 end line: 0 size: 9 LOC McCabe index: 5 number of parameters: 1 id: 309 unit: def _graph_def_op_index() file: python/graph_def_util.py start line: 0 end line: 0 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 310 unit: bool operator() file: grappler/convert/convert_graph.cc start line: 53 end line: 61 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 311 unit: static tensorflow::Status ExcludeInputNodes() file: grappler/convert/convert_graph.cc start line: 571 end line: 580 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 312 unit: TypeAttrId GetTypeAttrId() file: grappler/auto_mixed_precision.cc start line: 247 end line: 255 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 313 unit: std::vector NonControlInputs() file: grappler/auto_mixed_precision.cc start line: 257 end line: 265 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 314 unit: bool AutoMixedPrecisionImpl::SupportsF16() file: grappler/auto_mixed_precision.cc start line: 1227 end line: 1235 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 315 unit: static size_t TensorSize() file: runtime/direct/host_memory.cc start line: 110 end line: 118 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 316 unit: void CopyCPUTensorToDevice() file: runtime/device.cc start line: 34 end line: 41 size: 8 LOC McCabe index: 1 number of parameters: 5 id: 317 unit: void CopyDeviceTensorToCPU() file: runtime/device.cc start line: 42 end line: 49 size: 8 LOC McCabe index: 1 number of parameters: 5 id: 318 unit: void CopyTensorInSameDevice() file: runtime/device.cc start line: 50 end line: 57 size: 8 LOC McCabe index: 1 number of parameters: 4 id: 319 unit: Status NeuronDevice::FillContextMap() file: runtime/device.cc start line: 119 end line: 126 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 320 unit: inline Status nrt_error_status() file: runtime/runtime_grpc.cc start line: 44 end line: 51 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 321 unit: Status RuntimeGRPC::list_egs() file: runtime/runtime_grpc.cc start line: 149 end line: 156 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 322 unit: Status RuntimeGRPC::infer_post() file: runtime/runtime_grpc.cc start line: 312 end line: 319 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 323 unit: Status RuntimeGRPC::stop() file: runtime/runtime_grpc.cc start line: 341 end line: 348 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 324 unit: Status RuntimeGRPC::unload() file: runtime/runtime_grpc.cc start line: 366 end line: 373 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 325 unit: Status RuntimeGRPC::destroy_eg() file: runtime/runtime_grpc.cc start line: 375 end line: 382 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 326 unit: void Compute() file: runtime/kernels/identity_op.cc start line: 26 end line: 33 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 327 unit: static Status allocate_temp() file: runtime/model.cc start line: 391 end line: 398 size: 8 LOC McCabe index: 1 number of parameters: 4 id: 328 unit: def export_saved_model() file: python/predictor.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 329 unit: def _check_for_compatible_tf_version() file: python/saved_model.py start line: 0 end line: 0 size: 8 LOC McCabe index: 5 number of parameters: 2 id: 330 unit: def _legalize_instructions() file: python/hlo/optimize.py start line: 0 end line: 0 size: 8 LOC McCabe index: 5 number of parameters: 1 id: 331 unit: def __init__() file: python/hlo/optimize.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 4 id: 332 unit: def __init__() file: python/hlo/optimize.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 6 id: 333 unit: def xfail_for_versions() file: python/unittest_base.py start line: 0 end line: 0 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 334 unit: def get_custom_call_target() file: python/custom_call.py start line: 0 end line: 0 size: 8 LOC McCabe index: 4 number of parameters: 1 id: 335 unit: def supports_xla() file: python/neuron_cc.py start line: 0 end line: 0 size: 8 LOC McCabe index: 3 number of parameters: 0 id: 336 unit: static std::string container_debug_string() file: grappler/fuse_supported_operators.cc start line: 34 end line: 41 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 337 unit: static void RegisterOptimizerOnce() file: grappler/graph_optimizer_registry.h start line: 27 end line: 34 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 338 unit: static bool IsPseudoFastMath() file: grappler/auto_mixed_precision_lists.h start line: 94 end line: 101 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 339 unit: std::vector in_nodes() file: grappler/convert/segment.cc start line: 79 end line: 86 size: 8 LOC McCabe index: 3 number of parameters: 0 id: 340 unit: std::vector out_nodes() file: grappler/convert/segment.cc start line: 88 end line: 95 size: 8 LOC McCabe index: 3 number of parameters: 0 id: 341 unit: std::vector split_tensor() file: grappler/convert/convert_graph.cc start line: 128 end line: 137 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 342 unit: DataTypeSet AllowedDataTypes() file: grappler/auto_mixed_precision.cc start line: 886 end line: 893 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 343 unit: bool IsTensorListWriterOp() file: grappler/auto_mixed_precision.cc start line: 1218 end line: 1225 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 344 unit: bool AutoMixedPrecisionImpl::SupportsF16DataType() file: grappler/auto_mixed_precision.cc start line: 1237 end line: 1244 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 345 unit: int64 model_config_engine_index() file: runtime/model_config.h start line: 132 end line: 138 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 346 unit: Status NeuronHostBuffer::CopyCpuToBuffer() file: runtime/direct/host_memory.cc start line: 77 end line: 83 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 347 unit: Status NeuronHostBuffer::CopyBufferToCpu() file: runtime/direct/host_memory.cc start line: 85 end line: 91 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 348 unit: Status NeuronExecutableProfiler::RunOnHostMemory() file: runtime/direct/executable.cc start line: 54 end line: 60 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 349 unit: size_t NeuronDataParallelExecutable::GetRoundRobinId() file: runtime/direct/executable.cc start line: 106 end line: 112 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 350 unit: def _get_feed_dict() file: python/_trace.py start line: 0 end line: 0 size: 7 LOC McCabe index: 4 number of parameters: 2 id: 351 unit: def _is_simple_gather() file: python/hlo/optimize.py start line: 0 end line: 0 size: 7 LOC McCabe index: 5 number of parameters: 1 id: 352 unit: def reduce_window() file: python/hlo/instruction.py start line: 0 end line: 0 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 353 unit: def replace_extract_sub_graph() file: python/graph_util.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 354 unit: def logging_show_info() file: python/utils.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 355 unit: def decorate_methods_with() file: python/utils.py start line: 0 end line: 0 size: 7 LOC McCabe index: 4 number of parameters: 1 id: 356 unit: def __exit__() file: python/performance.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 357 unit: def _get_bucket() file: python/performance.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 3 id: 358 unit: def percentile() file: python/performance.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 359 unit: def _logging_show_info() file: python/performance.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 360 unit: def get_node_with_control_inputs() file: python/graph_def_util.py start line: 0 end line: 0 size: 7 LOC McCabe index: 5 number of parameters: 1 id: 361 unit: def setUp() file: python/unittest_base.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 362 unit: def verify_hlo_opt() file: python/neuron_cc_hlo.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 363 unit: void UnionFind::Merge() file: grappler/convert/union_find.h start line: 57 end line: 64 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 364 unit: TypeAttrId GetInputTypeAttr() file: grappler/auto_mixed_precision.cc start line: 314 end line: 320 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 365 unit: TypeAttrId GetOutputTypeAttr() file: grappler/auto_mixed_precision.cc start line: 322 end line: 328 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 366 unit: bool GraphTypeTopologyView::HasNode() file: grappler/auto_mixed_precision.cc start line: 665 end line: 671 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 367 unit: void AutoMixedPrecisionImpl::LogSkippedNode() file: grappler/auto_mixed_precision.cc start line: 1164 end line: 1170 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 368 unit: Status ReadProtoFile() file: tf2hlo/compile.cc start line: 60 end line: 66 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 369 unit: void parse_opt_engine_size() file: runtime/model_config.h start line: 28 end line: 33 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 370 unit: Status NeuronHostBufferMap::AddBuffer() file: runtime/direct/host_memory.cc start line: 103 end line: 108 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 371 unit: Status NeuronDataParallelExecutable::RunOnHostMemory() file: runtime/direct/executable.cc start line: 99 end line: 104 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 372 unit: void ProfilerInterface::initialize() file: runtime/profiler.cc start line: 47 end line: 52 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 373 unit: void Compute() file: runtime/kernels/constant_op.cc start line: 37 end line: 42 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 374 unit: static size_t get_tensor_size() file: runtime/model.cc start line: 50 end line: 55 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 375 unit: static Status allocate_temp() file: runtime/model.cc start line: 412 end line: 417 size: 6 LOC McCabe index: 1 number of parameters: 4 id: 376 unit: def get_install_requires() file: setup.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 377 unit: def maybe_dump_graph_def_as() file: python/_trace.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 3 id: 378 unit: def __init__() file: python/_trace.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 3 id: 379 unit: def assign_io_names() file: python/hlo/optimize.py start line: 0 end line: 0 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 380 unit: def get_batch_size() file: python/hlo/optimize.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 381 unit: def gather() file: python/hlo/optimize.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 3 id: 382 unit: def literal_value() file: python/hlo/optimize.py start line: 0 end line: 0 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 383 unit: def convolution() file: python/hlo/instruction.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 384 unit: def custom_call() file: python/hlo/instruction.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 385 unit: def reshape() file: python/hlo/instruction.py start line: 0 end line: 0 size: 6 LOC McCabe index: 4 number of parameters: 1 id: 386 unit: def slice() file: python/hlo/instruction.py start line: 0 end line: 0 size: 6 LOC McCabe index: 4 number of parameters: 1 id: 387 unit: def mark_batch_axis() file: python/graph_util.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 388 unit: def __init__() file: python/fuse.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 389 unit: def _register_var_fg_dg() file: python/fuse.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 4 id: 390 unit: def run_graph_def_pass_in_subgraphs() file: python/graph_def_util.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 391 unit: def get_subgraph_def() file: python/graph_def_util.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 392 unit: def __new__() file: python/unittest_base.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 4 id: 393 unit: def workdir_context() file: python/neuron_cc_hlo.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 394 unit: bool operator() file: grappler/convert/convert_graph.cc start line: 37 end line: 42 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 395 unit: bool IsTensorListReaderOp() file: grappler/auto_mixed_precision.cc start line: 1211 end line: 1216 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 396 unit: Status NeuronBatchSharder::ShardInputs() file: runtime/direct/dynamic_batch.cc start line: 140 end line: 144 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 397 unit: Status NeuronBatchSharder::ShardOutputs() file: runtime/direct/dynamic_batch.cc start line: 146 end line: 150 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 398 unit: Status NeuronExecutable::RunOnHostMemory() file: runtime/direct/executable.cc start line: 48 end line: 52 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 399 unit: static int64_t LargeAllocationWarningBytes() file: runtime/shared_memory.cc start line: 229 end line: 233 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 400 unit: Status tensor_memset() file: runtime/tensor_util.cc start line: 117 end line: 121 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 401 unit: Status ListPhysicalDevices() file: runtime/device.cc start line: 144 end line: 148 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 402 unit: Status RuntimeGRPC::wait_start() file: runtime/runtime_grpc.cc start line: 306 end line: 310 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 403 unit: Status RuntimeGRPC::wait_stop() file: runtime/runtime_grpc.cc start line: 360 end line: 364 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 404 unit: void Semaphore::Release() file: runtime/semaphore.cc start line: 46 end line: 50 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 405 unit: def get_extras_require_cc() file: setup.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 406 unit: def print_graph_ops() file: python/predictor.py start line: 0 end line: 0 size: 5 LOC McCabe index: 3 number of parameters: 2 id: 407 unit: def __call__() file: python/predictor.py start line: 0 end line: 0 size: 5 LOC McCabe index: 4 number of parameters: 2 id: 408 unit: def convert_constant_to_variables() file: python/saved_model.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 409 unit: def reverse() file: python/hlo/optimize.py start line: 0 end line: 0 size: 5 LOC McCabe index: 3 number of parameters: 2 id: 410 unit: def _get_frontend_attribute() file: python/hlo/optimize.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 411 unit: def batch_norm_inference() file: python/hlo/instruction.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 412 unit: def batch_norm_training() file: python/hlo/instruction.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 413 unit: def broadcast() file: python/hlo/instruction.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 414 unit: def concatenate() file: python/hlo/instruction.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 415 unit: def reduce() file: python/hlo/instruction.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 416 unit: def reverse() file: python/hlo/instruction.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 417 unit: def transpose() file: python/hlo/instruction.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 418 unit: def _graph_def_to_graph() file: python/graph_util.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 419 unit: def _one_batch_axis() file: python/graph_util.py start line: 0 end line: 0 size: 5 LOC McCabe index: 4 number of parameters: 2 id: 420 unit: def get_aws_neuron_tf2hlo_path() file: python/neuron_cc_hlo.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 421 unit: def restore() file: python/custom_call.py start line: 0 end line: 0 size: 5 LOC McCabe index: 3 number of parameters: 2 id: 422 unit: void FuseSupportedOperators::Feedback() file: grappler/fuse_supported_operators.cc start line: 102 end line: 107 size: 5 LOC McCabe index: 1 number of parameters: 4 id: 423 unit: explicit NeuronGraphOptimizerRegistrar() file: grappler/graph_optimizer_registry.h start line: 39 end line: 43 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 424 unit: Status Init() file: grappler/auto_mixed_precision.h start line: 35 end line: 39 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 425 unit: static bool IsPlaceholder() file: grappler/convert/convert_graph.cc start line: 139 end line: 143 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 426 unit: void MarkOpsInFixedShapeContext::Feedback() file: grappler/mark_ops_in_fixed_shape_context.cc start line: 105 end line: 110 size: 5 LOC McCabe index: 1 number of parameters: 4 id: 427 unit: def _forward_module() file: api/__init__.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 428 unit: Status NeuronHostBuffer::GetStatus() file: runtime/direct/host_memory.cc start line: 72 end line: 75 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 429 unit: bool SharedMemoryAllocator::is_shm_tensor() file: runtime/shared_memory.cc start line: 269 end line: 272 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 430 unit: Status tensor_copy() file: runtime/tensor_util.cc start line: 101 end line: 104 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 431 unit: Status NeuronDevice::TryGetDeviceContext() file: runtime/device.cc start line: 129 end line: 132 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 432 unit: Semaphore::ScopedReservation Semaphore::ScopedAcquire() file: runtime/semaphore.cc start line: 73 end line: 76 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 433 unit: std::string env_get() file: runtime/env.cc start line: 26 end line: 29 size: 4 LOC McCabe index: 2 number of parameters: 2 id: 434 unit: def finalize_options() file: setup.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 435 unit: def get_tag() file: setup.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 436 unit: def make_tensor_name() file: python/predictor.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 2 id: 437 unit: def _check_export_dir() file: python/saved_model.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 438 unit: def __init__() file: python/_trace.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 439 unit: def get_snapshot() file: python/hlo/optimize.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 440 unit: def entry_instructions() file: python/hlo/optimize.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 441 unit: def __init__() file: python/fuse.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 442 unit: def _io_config() file: python/fuse.py start line: 0 end line: 0 size: 4 LOC McCabe index: 3 number of parameters: 2 id: 443 unit: def __init__() file: python/performance.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 444 unit: def setUpClass() file: python/unittest_base.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 445 unit: def list_operators() file: python/neuron_cc_hlo.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 446 unit: def _maybe_dump_bytes_as() file: python/neuron_cc_hlo.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 3 id: 447 unit: Status StaticShapeInference::Init() file: grappler/static_shape_inference.cc start line: 29 end line: 32 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 448 unit: void StaticShapeInference::Feedback() file: grappler/static_shape_inference.cc start line: 76 end line: 80 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 449 unit: explicit TypeAttrId() file: grappler/auto_mixed_precision.cc start line: 115 end line: 118 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 450 unit: inline void SortAndRemoveDuplicates() file: grappler/auto_mixed_precision.cc start line: 526 end line: 529 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 451 unit: const absl::optional GraphTypeTopologyView::GetNodeIndex() file: grappler/auto_mixed_precision.cc start line: 700 end line: 703 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 452 unit: bool CanForceFP16() file: grappler/auto_mixed_precision.cc start line: 939 end line: 942 size: 4 LOC McCabe index: 4 number of parameters: 1 id: 453 unit: bool IsFloat32() file: grappler/auto_mixed_precision.cc start line: 1202 end line: 1205 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 454 unit: void AutoMixedPrecisionNeuron::Feedback() file: grappler/auto_mixed_precision.cc start line: 2062 end line: 2066 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 455 unit: Status MarkOpsInFixedShapeContext::Init() file: grappler/mark_ops_in_fixed_shape_context.cc start line: 52 end line: 55 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 456 unit: void parse_engine_index() file: runtime/model_config.h start line: 106 end line: 108 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 457 unit: bool model_config_valid() file: runtime/model_config.h start line: 117 end line: 119 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 458 unit: int64 model_config_global_opt_num_cores() file: runtime/model_config.h start line: 120 end line: 122 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 459 unit: int64 model_config_this_opt_num_cores() file: runtime/model_config.h start line: 123 end line: 125 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 460 unit: int64 model_config_max_num_duplicates() file: runtime/model_config.h start line: 126 end line: 128 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 461 unit: int64 model_config_timeout() file: runtime/model_config.h start line: 129 end line: 131 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 462 unit: inline bool NeuronEngine::is_busy() file: runtime/engine.cc start line: 470 end line: 472 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 463 unit: inline bool NeuronEngine::running() file: runtime/engine.cc start line: 474 end line: 476 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 464 unit: inline uint32_t NeuronEngine::nn_get_current_running() file: runtime/engine.cc start line: 478 end line: 480 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 465 unit: inline void NeuronEngine::set_running() file: runtime/engine.cc start line: 482 end line: 484 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 466 unit: void NeuronDevice::set_on_shm() file: runtime/device.cc start line: 134 end line: 136 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 467 unit: bool NeuronDevice::on_shm() file: runtime/device.cc start line: 138 end line: 140 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 468 unit: bool Semaphore::CanAcquire() file: runtime/semaphore.cc start line: 30 end line: 32 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 469 unit: void AwsNeuronDoNothing() file: runtime/init.cc start line: 63 end line: 65 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 470 unit: void set_nn_id() file: runtime/runtime_grpc.h start line: 57 end line: 59 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 471 unit: def finalize_options() file: setup.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 472 unit: def __del__() file: python/predictor.py start line: 0 end line: 0 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 473 unit: def __repr__() file: python/predictor.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 474 unit: def _find_int64_select_ops() file: python/_trace.py start line: 0 end line: 0 size: 3 LOC McCabe index: 4 number of parameters: 1 id: 475 unit: def _get_input_names() file: python/_trace.py start line: 0 end line: 0 size: 3 LOC McCabe index: 4 number of parameters: 1 id: 476 unit: def num_bytes() file: python/hlo/optimize.py start line: 0 end line: 0 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 477 unit: def rewrite_input() file: python/hlo/optimize.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 478 unit: def legal_opcode() file: python/hlo/optimize.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 479 unit: def split_tensor_name() file: python/graph_def_util.py start line: 0 end line: 0 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 480 unit: def setUpClass() file: python/unittest_base.py start line: 0 end line: 0 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 481 unit: def find_neuron_cc() file: python/neuron_cc.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 482 unit: string name() file: grappler/auto_mixed_precision.h start line: 43 end line: 45 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 483 unit: void SimpleGraph::AddControlEdge() file: grappler/convert/segment.cc start line: 196 end line: 198 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 484 unit: bool operator() file: grappler/convert/segment.cc start line: 228 end line: 230 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 485 unit: bool operator() file: grappler/convert/segment.cc start line: 234 end line: 236 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 486 unit: std::unique_ptr make_unique() file: grappler/auto_mixed_precision.cc start line: 60 end line: 62 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 487 unit: friend H AbslHashValue() file: grappler/auto_mixed_precision.cc start line: 134 end line: 136 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 488 unit: friend H AbslHashValue() file: grappler/auto_mixed_precision.cc start line: 427 end line: 429 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 489 unit: friend H AbslHashValue() file: grappler/auto_mixed_precision.cc start line: 499 end line: 501 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 490 unit: static DfsTypeCallbacks PreOrder() file: grappler/auto_mixed_precision.cc start line: 742 end line: 744 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 491 unit: static DfsTypeCallbacks PostOrder() file: grappler/auto_mixed_precision.cc start line: 746 end line: 748 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 492 unit: static DfsTypePredicates Enter() file: grappler/auto_mixed_precision.cc start line: 769 end line: 771 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 493 unit: static DfsTypePredicates Advance() file: grappler/auto_mixed_precision.cc start line: 773 end line: 775 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 494 unit: bool AutoMixedPrecisionImpl::MustPreserve() file: grappler/auto_mixed_precision.cc start line: 1172 end line: 1174 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 495 unit: bool AutoMixedPrecisionImpl::IsOnSuitableGPUArch() file: grappler/auto_mixed_precision.cc start line: 1194 end line: 1196 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 496 unit: bool AutoMixedPrecisionImpl::ShouldProcess() file: grappler/auto_mixed_precision.cc start line: 1198 end line: 1200 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 497 unit: bool IsTensorListOp() file: grappler/auto_mixed_precision.cc start line: 1207 end line: 1209 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 498 unit: def has_ext_modules() file: setup.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 499 unit: def get_version() file: setup.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 500 unit: def graph() file: python/predictor.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 501 unit: def session() file: python/predictor.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 502 unit: def feed_tensors() file: python/predictor.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 503 unit: def fetch_tensors() file: python/predictor.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 504 unit: def _shuffle() file: python/_trace.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 505 unit: def _assert_same_len() file: python/hlo/optimize.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 4 id: 506 unit: def convert() file: python/hlo/optimize.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 507 unit: def reshape() file: python/hlo/optimize.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 508 unit: def __init__() file: python/hlo/optimize.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 509 unit: def opcode() file: python/hlo/optimize.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 510 unit: def name() file: python/hlo/optimize.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 511 unit: def dtype() file: python/hlo/optimize.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 512 unit: def shape() file: python/hlo/optimize.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 513 unit: def operand_ids() file: python/hlo/optimize.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 514 unit: def id() file: python/hlo/optimize.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 515 unit: def neff_input_name() file: python/hlo/optimize.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 516 unit: def neff_input_name() file: python/hlo/optimize.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 517 unit: def neff_output_names() file: python/hlo/optimize.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 518 unit: def neff_output_names() file: python/hlo/optimize.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 519 unit: def abs() file: python/hlo/instruction.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 520 unit: def add() file: python/hlo/instruction.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 521 unit: def _and() file: python/hlo/instruction.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 522 unit: def clamp() file: python/hlo/instruction.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 523 unit: def compare() file: python/hlo/instruction.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 524 unit: def constant() file: python/hlo/instruction.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 525 unit: def convert() file: python/hlo/instruction.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 526 unit: def divide() file: python/hlo/instruction.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 527 unit: def exponential() file: python/hlo/instruction.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 528 unit: def exponential_minus_one() file: python/hlo/instruction.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 529 unit: def get_dimension_size() file: python/hlo/instruction.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 530 unit: def get_tuple_element() file: python/hlo/instruction.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 531 unit: def log() file: python/hlo/instruction.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 532 unit: def log_plus_one() file: python/hlo/instruction.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 533 unit: def logistic() file: python/hlo/instruction.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 534 unit: def maximum() file: python/hlo/instruction.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 535 unit: def minimum() file: python/hlo/instruction.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 536 unit: def multiply() file: python/hlo/instruction.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 537 unit: def negate() file: python/hlo/instruction.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 538 unit: def _not() file: python/hlo/instruction.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 539 unit: def pad() file: python/hlo/instruction.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 540 unit: def parameter() file: python/hlo/instruction.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 541 unit: def power() file: python/hlo/instruction.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 542 unit: def rsqrt() file: python/hlo/instruction.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 543 unit: def select() file: python/hlo/instruction.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 544 unit: def sqrt() file: python/hlo/instruction.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 545 unit: def subtract() file: python/hlo/instruction.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 546 unit: def tanh() file: python/hlo/instruction.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 547 unit: def tuple() file: python/hlo/instruction.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 548 unit: def _neuron_ops() file: python/graph_util.py start line: 0 end line: 0 size: 2 LOC McCabe index: 3 number of parameters: 1 id: 549 unit: def _has_control_input() file: python/graph_util.py start line: 0 end line: 0 size: 2 LOC McCabe index: 2 number of parameters: 1 id: 550 unit: def _get_subgraph() file: python/graph_util.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 551 unit: def _batch_axis() file: python/graph_util.py start line: 0 end line: 0 size: 2 LOC McCabe index: 2 number of parameters: 3 id: 552 unit: def _is_neuron_op() file: python/fuse.py start line: 0 end line: 0 size: 2 LOC McCabe index: 2 number of parameters: 1 id: 553 unit: def tensors() file: python/fuse.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 554 unit: def mapped_tensors() file: python/fuse.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 555 unit: def neuron_op_grad() file: python/fuse.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 556 unit: def __enter__() file: python/performance.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 557 unit: def __call__() file: python/performance.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 3 id: 558 unit: def register_func() file: python/performance.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 559 unit: def add_timestamps() file: python/performance.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 3 id: 560 unit: def get_neuron_nodes() file: python/graph_def_util.py start line: 0 end line: 0 size: 2 LOC McCabe index: 3 number of parameters: 1 id: 561 unit: def format_tensor_name() file: python/graph_def_util.py start line: 0 end line: 0 size: 2 LOC McCabe index: 2 number of parameters: 1 id: 562 unit: def __init__() file: python/custom_call.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 563 unit: explicit TypeAttrId() file: grappler/auto_mixed_precision.cc start line: 120 end line: 121 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 564 unit: explicit GraphTypeTopologyView() file: grappler/auto_mixed_precision.cc start line: 449 end line: 450 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 565 unit: static bool IsValidBatchAxis() file: runtime/direct/dynamic_batch.cc start line: 32 end line: 32 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 566 unit: static bool BatchAxisIsDynamic() file: runtime/direct/dynamic_batch.cc start line: 34 end line: 34 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 567 unit: bool Owned() file: runtime/direct/host_memory.h start line: 37 end line: 37 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 568 unit: size_t GetSize() file: runtime/direct/host_memory.h start line: 38 end line: 38 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 569 unit: Status GetStatus() file: runtime/direct/host_memory.h start line: 54 end line: 54 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 570 unit: Status GetStatus() file: runtime/direct/executable.h start line: 39 end line: 39 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 571 unit: bool CanSkip() file: runtime/direct/dynamic_batch.h start line: 33 end line: 33 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 572 unit: inline void nrt_tensor_free() file: runtime/direct/include/nrt/nrt.h start line: 26 end line: 26 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 573 unit: Status GetStatus() file: runtime/direct/placer.h start line: 38 end line: 38 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 574 unit: bool is_valid() file: runtime/shared_memory.h start line: 33 end line: 33 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 575 unit: size_t get_id() file: runtime/shared_memory.h start line: 34 end line: 34 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 576 unit: size_t get_size() file: runtime/shared_memory.h start line: 36 end line: 36 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 577 unit: StringPiece get_path() file: runtime/shared_memory.h start line: 37 end line: 37 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 578 unit: bool is_valid() file: runtime/shared_memory.h start line: 58 end line: 58 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 579 unit: std::string Name() file: runtime/shared_memory.h start line: 59 end line: 59 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 580 unit: size_t num_executable() file: runtime/engine.h start line: 46 end line: 46 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 581 unit: uint32_t num_cores() file: runtime/engine.h start line: 47 end line: 47 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 582 unit: std::shared_ptr get_session() file: runtime/engine.h start line: 48 end line: 48 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 583 unit: Status runtime_status() file: runtime/engine.h start line: 80 end line: 80 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 584 unit: Status Sync() file: runtime/device.h start line: 50 end line: 50 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 585 unit: void TF_InitKernel() file: runtime/init.cc start line: 126 end line: 126 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 586 unit: explicit IdentityOp() file: runtime/kernels/identity_op.cc start line: 24 end line: 24 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 587 unit: bool IsExpensive() file: runtime/kernels/identity_op.cc start line: 35 end line: 35 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 588 unit: explicit IsLibmodeAvailableOp() file: runtime/kernels/islibmodeavailable_op.cc start line: 25 end line: 25 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 589 unit: bool IsExpensive() file: runtime/kernels/islibmodeavailable_op.cc start line: 42 end line: 42 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 590 unit: bool IsExpensive() file: runtime/kernels/constant_op.cc start line: 44 end line: 44 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 591 unit: bool use_shm() file: runtime/runtime_grpc.h start line: 55 end line: 55 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 592 unit: uint32_t get_nn_id() file: runtime/runtime_grpc.h start line: 60 end line: 60 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 593 unit: uint64_t get_id() file: runtime/runtime_grpc.h start line: 123 end line: 123 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 594 unit: std::string name() file: grappler/fuse_supported_operators.h start line: 33 end line: 33 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 595 unit: bool UsesFunctionLibrary() file: grappler/fuse_supported_operators.h start line: 34 end line: 34 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 596 unit: bool UsesFunctionLibrary() file: grappler/auto_mixed_precision.h start line: 47 end line: 47 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 597 unit: virtual ~AutoMixedPrecisionLists() file: grappler/auto_mixed_precision_lists.h start line: 28 end line: 28 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 598 unit: int src_output() file: grappler/convert/segment.cc start line: 58 end line: 58 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 599 unit: int dst_input() file: grappler/convert/segment.cc start line: 59 end line: 59 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 600 unit: int id() file: grappler/convert/segment.cc start line: 60 end line: 60 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 601 unit: bool IsControlEdge() file: grappler/convert/segment.cc start line: 61 end line: 61 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 602 unit: int id() file: grappler/convert/segment.cc start line: 99 end line: 99 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 603 unit: int num_node_ids() file: grappler/convert/segment.cc start line: 124 end line: 124 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 604 unit: explicit UnionFind() file: grappler/convert/union_find.h start line: 31 end line: 31 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 605 unit: int Size() file: grappler/convert/union_find.h start line: 34 end line: 34 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 606 unit: explicit NodeTypeAttrMap() file: grappler/auto_mixed_precision.cc start line: 273 end line: 273 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 607 unit: bool is_initialized() file: grappler/auto_mixed_precision.cc start line: 288 end line: 288 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 608 unit: bool is_initialized() file: grappler/auto_mixed_precision.cc start line: 462 end line: 462 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 609 unit: int num_nodes() file: grappler/auto_mixed_precision.cc start line: 463 end line: 463 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 610 unit: explicit DfsStackElem() file: grappler/auto_mixed_precision.cc start line: 784 end line: 784 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 611 unit: std::string name() file: grappler/mark_ops_in_fixed_shape_context.cc start line: 44 end line: 44 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 612 unit: bool UsesFunctionLibrary() file: grappler/mark_ops_in_fixed_shape_context.cc start line: 45 end line: 45 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 613 unit: std::string name() file: grappler/static_shape_inference.h start line: 34 end line: 34 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 614 unit: bool UsesFunctionLibrary() file: grappler/static_shape_inference.h start line: 35 end line: 35 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 615 unit: explicit AwsNeuronCustomXlaOp() file: tf2hlo/custom_op.cc start line: 49 end line: 49 size: 1 LOC McCabe index: 1 number of parameters: 1