id: 1 unit: std::unique_ptr TorchNeuropodBackend::infer_internal() file: source/neuropod/backends/torchscript/torch_backend.cc start line: 295 end line: 489 size: 156 LOC McCabe index: 37 number of parameters: 1 id: 2 unit: void validate_tensors_against_specs() file: source/neuropod/backends/neuropod_backend.cc start line: 79 end line: 214 size: 95 LOC McCabe index: 15 number of parameters: 3 id: 3 unit: std::unique_ptr load_model_config() file: source/neuropod/internal/config_utils.cc start line: 154 end line: 269 size: 90 LOC McCabe index: 17 number of parameters: 1 id: 4 unit: void multiprocess_worker_loop() file: source/neuropod/multiprocess/multiprocess_worker.cc start line: 35 end line: 135 size: 71 LOC McCabe index: 10 number of parameters: 1 id: 5 unit: std::unique_ptr maybe_initialize() file: source/neuropod/backends/python_bridge/python_bridge.cc start line: 66 end line: 169 size: 71 LOC McCabe index: 11 number of parameters: 0 id: 6 unit: void insert_value_in_output() file: source/neuropod/backends/torchscript/torch_backend.cc start line: 122 end line: 206 size: 67 LOC McCabe index: 12 number of parameters: 5 id: 7 unit: void IPCMessageQueue::read_worker_loop() file: source/neuropod/multiprocess/mq/ipc_message_queue_impl.hh start line: 61 end line: 150 size: 63 LOC McCabe index: 9 number of parameters: 0 id: 8 unit: JNIEXPORT jobject JNICALL Java_com_uber_neuropod_Neuropod_nativeInfer() file: source/neuropod/bindings/java/src/main/native/com_uber_neuropod_Neuropod.cc start line: 229 end line: 299 size: 62 LOC McCabe index: 12 number of parameters: 5 id: 9 unit: def validate_neuropod_config() file: source/python/neuropod/utils/config_utils.py start line: 0 end line: 0 size: 56 LOC McCabe index: 12 number of parameters: 1 id: 10 unit: void populate_default_backend_map() file: source/neuropod/internal/backend_registration.cc start line: 56 end line: 127 size: 54 LOC McCabe index: 10 number of parameters: 2 id: 11 unit: std::unique_ptr TensorflowNeuropodBackend::infer_internal() file: source/neuropod/backends/tensorflow/tf_backend.cc start line: 317 end line: 399 size: 52 LOC McCabe index: 8 number of parameters: 2 id: 12 unit: jint JNI_OnLoad() file: source/neuropod/bindings/java/src/main/native/jclass_register.cc start line: 69 end line: 128 size: 49 LOC McCabe index: 3 number of parameters: 2 id: 13 unit: std::unordered_map get_id_mapping() file: source/neuropod/internal/cuda_device_mapping.cc start line: 141 end line: 214 size: 48 LOC McCabe index: 9 number of parameters: 0 id: 14 unit: def install_pytorch() file: build/install_frameworks.py start line: 0 end line: 0 size: 48 LOC McCabe index: 20 number of parameters: 1 id: 15 unit: JNIEXPORT jlong JNICALL Java_com_uber_neuropod_NeuropodTensorAllocator_nativeAllocate() file: source/neuropod/bindings/java/src/main/native/com_uber_neuropod_NeuropodTensorAllocator.cc start line: 50 end line: 99 size: 47 LOC McCabe index: 6 number of parameters: 6 id: 16 unit: std::shared_ptr load_model_from_path() file: source/neuropod/backends/torchscript/torch_backend.cc start line: 65 end line: 119 size: 46 LOC McCabe index: 6 number of parameters: 3 id: 17 unit: BackendFactoryFunction get_backend_for_type() file: source/neuropod/internal/backend_registration.cc start line: 284 end line: 341 size: 44 LOC McCabe index: 6 number of parameters: 3 id: 18 unit: def __init__() file: source/neuropod/backends/python_bridge/_neuropod_native_bootstrap/executor.py start line: 0 end line: 0 size: 41 LOC McCabe index: 8 number of parameters: 2 id: 19 unit: def _load_deps_internal() file: source/neuropod/backends/python_bridge/_neuropod_native_bootstrap/pip_utils.py start line: 0 end line: 0 size: 41 LOC McCabe index: 16 number of parameters: 1 id: 20 unit: def _random_from_output_spec() file: source/python/neuropod/utils/randomify.py start line: 0 end line: 0 size: 41 LOC McCabe index: 7 number of parameters: 2 id: 21 unit: jobject toJavaTensorSpecList() file: source/neuropod/bindings/java/src/main/native/com_uber_neuropod_Neuropod.cc start line: 38 end line: 79 size: 40 LOC McCabe index: 6 number of parameters: 2 id: 22 unit: def acquire() file: source/neuropod/backends/python_bridge/_neuropod_native_bootstrap/filelock.py start line: 0 end line: 0 size: 39 LOC McCabe index: 9 number of parameters: 3 id: 23 unit: std::shared_ptr SHMAllocator::load_shm() file: source/neuropod/multiprocess/shm/shm_allocator.cc start line: 248 end line: 317 size: 38 LOC McCabe index: 4 number of parameters: 1 id: 24 unit: void TensorflowNeuropodBackend::load_model_internal() file: source/neuropod/backends/tensorflow/tf_backend.cc start line: 214 end line: 259 size: 38 LOC McCabe index: 7 number of parameters: 0 id: 25 unit: JNIEXPORT jobject JNICALL Java_com_uber_neuropod_NeuropodTensor_nativeGetBuffer() file: source/neuropod/bindings/java/src/main/native/com_uber_neuropod_NeuropodTensor.cc start line: 36 end line: 73 size: 36 LOC McCabe index: 7 number of parameters: 3 id: 26 unit: py::array tensor_to_numpy() file: source/neuropod/bindings/python_bindings.cc start line: 141 end line: 203 size: 36 LOC McCabe index: 6 number of parameters: 1 id: 27 unit: void setup_node_mapping_and_init_ops() file: source/neuropod/backends/tensorflow/tf_backend.cc start line: 42 end line: 86 size: 36 LOC McCabe index: 7 number of parameters: 3 id: 28 unit: bool load_default_backend() file: source/neuropod/internal/backend_registration.cc start line: 155 end line: 199 size: 35 LOC McCabe index: 6 number of parameters: 3 id: 29 unit: std::unique_ptr get_istream_for_file() file: source/neuropod/internal/neuropod_loader.cc start line: 116 end line: 163 size: 35 LOC McCabe index: 6 number of parameters: 1 id: 30 unit: bool load_nvml() file: source/neuropod/internal/cuda_device_mapping.cc start line: 93 end line: 136 size: 33 LOC McCabe index: 5 number of parameters: 0 id: 31 unit: def validate_tensor_spec() file: source/python/neuropod/utils/config_utils.py start line: 0 end line: 0 size: 33 LOC McCabe index: 11 number of parameters: 1 id: 32 unit: spdlog::level::level_enum get_default_log_level() file: source/neuropod/internal/logging.cc start line: 26 end line: 63 size: 32 LOC McCabe index: 7 number of parameters: 0 id: 33 unit: Status RunOnce() file: source/neuropod/backends/tensorflow/saved_model/loader.cc start line: 151 end line: 185 size: 32 LOC McCabe index: 4 number of parameters: 7 id: 34 unit: Status GetInitOp() file: source/neuropod/backends/tensorflow/saved_model/loader_util.cc start line: 36 end line: 67 size: 30 LOC McCabe index: 5 number of parameters: 3 id: 35 unit: std::vector get_dims_from_json() file: source/neuropod/internal/config_utils.cc start line: 81 end line: 117 size: 29 LOC McCabe index: 7 number of parameters: 1 id: 36 unit: QueueMessage IPCMessageQueue::recv_message() file: source/neuropod/multiprocess/mq/ipc_message_queue_impl.hh start line: 294 end line: 342 size: 29 LOC McCabe index: 4 number of parameters: 0 id: 37 unit: JNIEXPORT jobject JNICALL Java_com_uber_neuropod_NeuropodTensor_nativeToStringList() file: source/neuropod/bindings/java/src/main/native/com_uber_neuropod_NeuropodTensor.cc start line: 134 end line: 164 size: 29 LOC McCabe index: 5 number of parameters: 3 id: 38 unit: RuntimeOptions get_options_from_kwargs() file: source/neuropod/bindings/neuropod_native.cc start line: 110 end line: 141 size: 29 LOC McCabe index: 5 number of parameters: 1 id: 39 unit: void move_graph_to_device() file: source/neuropod/backends/tensorflow/tf_utils.cc start line: 28 end line: 66 size: 29 LOC McCabe index: 6 number of parameters: 3 id: 40 unit: static Status ValidateNode() file: source/neuropod/backends/tensorflow/saved_model/loader.cc start line: 53 end line: 81 size: 29 LOC McCabe index: 5 number of parameters: 1 id: 41 unit: def parse_docstring() file: build/gen_py_api_docs.py start line: 0 end line: 0 size: 29 LOC McCabe index: 10 number of parameters: 1 id: 42 unit: bool register_backend() file: source/neuropod/internal/backend_registration.cc start line: 236 end line: 273 size: 28 LOC McCabe index: 3 number of parameters: 4 id: 43 unit: void TransitionVerifier::assert_transition_allowed() file: source/neuropod/multiprocess/ipc_control_channel.cc start line: 26 end line: 61 size: 28 LOC McCabe index: 7 number of parameters: 1 id: 44 unit: private static boolean loadEmbeddedLibrary() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/LibraryLoader.java start line: 70 end line: 98 size: 27 LOC McCabe index: 6 number of parameters: 0 id: 45 unit: JNIEXPORT jlong JNICALL Java_com_uber_neuropod_NeuropodTensorAllocator_nativeCreateStringTensor() file: source/neuropod/bindings/java/src/main/native/com_uber_neuropod_NeuropodTensorAllocator.cc start line: 101 end line: 131 size: 27 LOC McCabe index: 3 number of parameters: 5 id: 46 unit: void NP_InferWithRequestedOutputs() file: source/neuropod/bindings/c/c_api.cc start line: 90 end line: 119 size: 27 LOC McCabe index: 4 number of parameters: 6 id: 47 unit: void TensorflowNeuropodBackend::load_frozen_graph() file: source/neuropod/backends/tensorflow/tf_backend.cc start line: 173 end line: 212 size: 27 LOC McCabe index: 4 number of parameters: 1 id: 48 unit: int64_t TensorflowNeuropodBackend::get_callable() file: source/neuropod/backends/tensorflow/tf_backend.cc start line: 270 end line: 314 size: 27 LOC McCabe index: 4 number of parameters: 2 id: 49 unit: void TorchNeuropodBackend::load_model_internal() file: source/neuropod/backends/torchscript/torch_backend.cc start line: 235 end line: 273 size: 27 LOC McCabe index: 5 number of parameters: 0 id: 50 unit: std::shared_ptr tensor_from_numpy() file: source/neuropod/bindings/python_bindings.cc start line: 102 end line: 139 size: 26 LOC McCabe index: 4 number of parameters: 2 id: 51 unit: def upload() file: build/upload_release.py start line: 0 end line: 0 size: 26 LOC McCabe index: 9 number of parameters: 0 id: 52 unit: BackendFactoryFunction find_registered_backend() file: source/neuropod/internal/backend_registration.cc start line: 201 end line: 227 size: 25 LOC McCabe index: 3 number of parameters: 2 id: 53 unit: bool load_cuda() file: source/neuropod/internal/cuda_device_mapping.cc start line: 57 end line: 90 size: 25 LOC McCabe index: 4 number of parameters: 0 id: 54 unit: std::unique_ptr infer_internal() file: source/neuropod/multiprocess/multiprocess.cc start line: 246 end line: 284 size: 25 LOC McCabe index: 4 number of parameters: 2 id: 55 unit: Status RunRestore() file: source/neuropod/backends/tensorflow/saved_model/loader.cc start line: 212 end line: 245 size: 25 LOC McCabe index: 2 number of parameters: 6 id: 56 unit: Status GetAssetFileDefs() file: source/neuropod/backends/tensorflow/saved_model/loader_util.cc start line: 69 end line: 96 size: 25 LOC McCabe index: 5 number of parameters: 2 id: 57 unit: def preinstall_deps() file: source/python/neuropod/backends/python/utils.py start line: 0 end line: 0 size: 25 LOC McCabe index: 2 number of parameters: 2 id: 58 unit: std::shared_ptr SHMAllocator::allocate_shm() file: source/neuropod/multiprocess/shm/shm_allocator.cc start line: 198 end line: 246 size: 23 LOC McCabe index: 2 number of parameters: 2 id: 59 unit: def _check_spec() file: source/python/neuropod/backends/keras/packager.py start line: 0 end line: 0 size: 23 LOC McCabe index: 6 number of parameters: 4 id: 60 unit: std::shared_ptr deserialize_tensor() file: source/neuropod/internal/neuropod_tensor_serialization.cc start line: 49 end line: 72 size: 22 LOC McCabe index: 2 number of parameters: 2 id: 61 unit: void serialize_payload() file: source/neuropod/multiprocess/mq/wire_format_impl.hh start line: 104 end line: 139 size: 22 LOC McCabe index: 2 number of parameters: 3 id: 62 unit: std::unique_ptr load_neuropod_ope() file: source/neuropod/multiprocess/multiprocess.cc start line: 298 end line: 325 size: 22 LOC McCabe index: 4 number of parameters: 3 id: 63 unit: SHMBlockID get_native_data() file: source/neuropod/multiprocess/shm_tensor.hh start line: 215 end line: 252 size: 22 LOC McCabe index: 3 number of parameters: 0 id: 64 unit: JNIEXPORT jlong JNICALL Java_com_uber_neuropod_Neuropod_nativeNew__Ljava_lang_String_2J() file: source/neuropod/bindings/java/src/main/native/com_uber_neuropod_Neuropod.cc start line: 84 end line: 106 size: 22 LOC McCabe index: 4 number of parameters: 4 id: 65 unit: JNIEXPORT jlongArray JNICALL Java_com_uber_neuropod_NeuropodTensor_nativeGetDims() file: source/neuropod/bindings/java/src/main/native/com_uber_neuropod_NeuropodTensor.cc start line: 76 end line: 97 size: 22 LOC McCabe index: 4 number of parameters: 3 id: 66 unit: void create_tensor_from_existing_memory() file: source/neuropod/backends/tensorflow/tf_tensor.cc start line: 129 end line: 158 size: 22 LOC McCabe index: 2 number of parameters: 7 id: 67 unit: Status FindMetaGraphDef() file: source/neuropod/backends/tensorflow/saved_model/reader.cc start line: 55 end line: 87 size: 22 LOC McCabe index: 4 number of parameters: 3 id: 68 unit: TensorType convert_to_tensor_type() file: source/neuropod/internal/config_utils.cc start line: 58 end line: 79 size: 21 LOC McCabe index: 3 number of parameters: 1 id: 69 unit: void IPCMessageQueue::send_message() file: source/neuropod/multiprocess/mq/ipc_message_queue_impl.hh start line: 154 end line: 180 size: 21 LOC McCabe index: 4 number of parameters: 1 id: 70 unit: void maybe_get_and_pop() file: source/neuropod/multiprocess/shm/shm_allocator.cc start line: 146 end line: 175 size: 21 LOC McCabe index: 3 number of parameters: 3 id: 71 unit: Status RestoreSession() file: source/neuropod/backends/tensorflow/saved_model/loader.cc start line: 297 end line: 319 size: 21 LOC McCabe index: 2 number of parameters: 4 id: 72 unit: private long toPos() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/NeuropodTensor.java start line: 277 end line: 298 size: 20 LOC McCabe index: 5 number of parameters: 1 id: 73 unit: std::unique_ptr NeuropodBackend::infer() file: source/neuropod/backends/neuropod_backend.cc start line: 262 end line: 291 size: 20 LOC McCabe index: 4 number of parameters: 2 id: 74 unit: std::unique_ptr NeuropodBackend::infer_internal() file: source/neuropod/backends/neuropod_backend.cc start line: 293 end line: 319 size: 20 LOC McCabe index: 4 number of parameters: 2 id: 75 unit: def _infer_keras_spec() file: source/python/neuropod/backends/keras/packager.py start line: 0 end line: 0 size: 20 LOC McCabe index: 8 number of parameters: 3 id: 76 unit: private static File extractFile() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/LibraryLoader.java start line: 100 end line: 119 size: 19 LOC McCabe index: 3 number of parameters: 3 id: 77 unit: JNIEXPORT jstring JNICALL Java_com_uber_neuropod_NeuropodTensor_nativeGetString() file: source/neuropod/bindings/java/src/main/native/com_uber_neuropod_NeuropodTensor.cc start line: 166 end line: 184 size: 19 LOC McCabe index: 2 number of parameters: 4 id: 78 unit: std::shared_ptr tensor_from_string_numpy() file: source/neuropod/bindings/python_bindings.cc start line: 71 end line: 98 size: 19 LOC McCabe index: 2 number of parameters: 3 id: 79 unit: def forward() file: source/neuropod/backends/python_bridge/_neuropod_native_bootstrap/executor.py start line: 0 end line: 0 size: 19 LOC McCabe index: 8 number of parameters: 2 id: 80 unit: static Status ValidateSavedTensors() file: source/neuropod/backends/tensorflow/saved_model/loader.cc start line: 83 end line: 103 size: 19 LOC McCabe index: 5 number of parameters: 1 id: 81 unit: def __getattr__() file: source/python/neuropod/packagers.py start line: 0 end line: 0 size: 19 LOC McCabe index: 2 number of parameters: 2 id: 82 unit: def write_doc() file: build/gen_py_api_docs.py start line: 0 end line: 0 size: 19 LOC McCabe index: 6 number of parameters: 2 id: 83 unit: struct __attribute__() file: source/neuropod/multiprocess/mq/wire_format_impl.hh start line: 54 end line: 96 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 84 unit: pid_t start_worker_process() file: source/neuropod/multiprocess/multiprocess.cc start line: 70 end line: 96 size: 18 LOC McCabe index: 3 number of parameters: 2 id: 85 unit: Status ReadSavedModel() file: source/neuropod/backends/tensorflow/saved_model/reader.cc start line: 35 end line: 53 size: 18 LOC McCabe index: 3 number of parameters: 2 id: 86 unit: std::shared_ptr to_internal() file: source/neuropod/backends/torchscript/torch_tensor.hh start line: 165 end line: 184 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 87 unit: def compile_requirements() file: source/python/neuropod/utils/pip_utils.py start line: 0 end line: 0 size: 18 LOC McCabe index: 1 number of parameters: 2 id: 88 unit: bool try_emplace() file: source/neuropod/internal/blocking_spsc_queue.hh start line: 41 end line: 62 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 89 unit: void serialize_tensor() file: source/neuropod/internal/neuropod_tensor_serialization.cc start line: 30 end line: 47 size: 17 LOC McCabe index: 2 number of parameters: 2 id: 90 unit: inline void ipc_deserialize() file: source/neuropod/multiprocess/serialization/ipc_serialization.hh start line: 134 end line: 160 size: 17 LOC McCabe index: 2 number of parameters: 2 id: 91 unit: std::shared_ptr wrap_existing_tensor() file: source/neuropod/multiprocess/tensor_utils.hh start line: 30 end line: 62 size: 17 LOC McCabe index: 2 number of parameters: 2 id: 92 unit: std::shared_ptr wrap_existing_tensor() file: source/neuropod/multiprocess/tensor_utils.hh start line: 69 end line: 100 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 93 unit: std::unordered_map get_env_map() file: source/neuropod/multiprocess/multiprocess.cc start line: 47 end line: 67 size: 17 LOC McCabe index: 3 number of parameters: 0 id: 94 unit: void NP_LoadNeuropodWithOpts() file: source/neuropod/bindings/c/c_api.cc start line: 31 end line: 47 size: 17 LOC McCabe index: 2 number of parameters: 4 id: 95 unit: def install_package() file: source/neuropod/backends/python_bridge/_neuropod_native_bootstrap/pip_utils.py start line: 0 end line: 0 size: 17 LOC McCabe index: 2 number of parameters: 2 id: 96 unit: void TensorflowNeuropodBackend::load_saved_model() file: source/neuropod/backends/tensorflow/tf_backend.cc start line: 148 end line: 171 size: 17 LOC McCabe index: 3 number of parameters: 0 id: 97 unit: std::string get_gpu_uuid() file: source/neuropod/internal/cuda_device_mapping.cc start line: 220 end line: 237 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 98 unit: void NeuropodTensor::assure_view_compatible_shape() file: source/neuropod/internal/neuropod_tensor.cc start line: 156 end line: 175 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 99 unit: void deserialize_payload() file: source/neuropod/multiprocess/mq/wire_format_impl.hh start line: 143 end line: 163 size: 16 LOC McCabe index: 2 number of parameters: 2 id: 100 unit: void IPCMessageQueue::send_message_move() file: source/neuropod/multiprocess/mq/ipc_message_queue_impl.hh start line: 253 end line: 277 size: 16 LOC McCabe index: 2 number of parameters: 2 id: 101 unit: void wait_for_load_confirmation() file: source/neuropod/multiprocess/multiprocess.cc start line: 115 end line: 136 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 102 unit: public int getBytesPerElement() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/TensorType.java start line: 47 end line: 62 size: 16 LOC McCabe index: 12 number of parameters: 0 id: 103 unit: JNIEXPORT jobject JNICALL Java_com_uber_neuropod_NeuropodTensor_nativeGetTensorType() file: source/neuropod/bindings/java/src/main/native/com_uber_neuropod_NeuropodTensor.cc start line: 100 end line: 115 size: 16 LOC McCabe index: 2 number of parameters: 3 id: 104 unit: Status RunInitOp() file: source/neuropod/backends/tensorflow/saved_model/loader.cc start line: 189 end line: 204 size: 16 LOC McCabe index: 2 number of parameters: 5 id: 105 unit: void copy_from() file: source/neuropod/backends/torchscript/torch_tensor.hh start line: 238 end line: 256 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 106 unit: std::unordered_map get_device_mapping() file: source/neuropod/backends/neuropod_backend.cc start line: 29 end line: 47 size: 16 LOC McCabe index: 4 number of parameters: 2 id: 107 unit: std::string ensure_local() file: source/neuropod/internal/neuropod_loader.cc start line: 185 end line: 205 size: 15 LOC McCabe index: 3 number of parameters: 0 id: 108 unit: void IPCMessageQueue::send_message() file: source/neuropod/multiprocess/mq/ipc_message_queue_impl.hh start line: 225 end line: 246 size: 15 LOC McCabe index: 2 number of parameters: 2 id: 109 unit: inline void ipc_deserialize() file: source/neuropod/multiprocess/serialization/ipc_serialization.hh start line: 85 end line: 103 size: 15 LOC McCabe index: 4 number of parameters: 2 id: 110 unit: explicit RawSHMBlock() file: source/neuropod/multiprocess/shm/raw_shm_block_allocator.cc start line: 120 end line: 151 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 111 unit: public NeuropodTensor tensorFromMemory() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/NeuropodTensorAllocator.java start line: 53 end line: 67 size: 15 LOC McCabe index: 5 number of parameters: 3 id: 112 unit: JNIEXPORT void JNICALL Java_com_uber_neuropod_NeuropodTensorAllocator_nativeDelete() file: source/neuropod/bindings/java/src/main/native/com_uber_neuropod_NeuropodTensorAllocator.cc start line: 32 end line: 47 size: 15 LOC McCabe index: 2 number of parameters: 3 id: 113 unit: JNIEXPORT void JNICALL Java_com_uber_neuropod_NeuropodTensor_nativeDoDelete() file: source/neuropod/bindings/java/src/main/native/com_uber_neuropod_NeuropodTensor.cc start line: 18 end line: 33 size: 15 LOC McCabe index: 2 number of parameters: 3 id: 114 unit: JNIEXPORT jlong JNICALL Java_com_uber_neuropod_NeuropodTensor_nativeGetNumberOfElements() file: source/neuropod/bindings/java/src/main/native/com_uber_neuropod_NeuropodTensor.cc start line: 118 end line: 132 size: 15 LOC McCabe index: 2 number of parameters: 3 id: 115 unit: pybind11::dtype get_py_type() file: source/neuropod/bindings/python_bindings.cc start line: 54 end line: 69 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 116 unit: std::string get_handle_cache_key() file: source/neuropod/backends/tensorflow/tf_backend.cc start line: 115 end line: 134 size: 15 LOC McCabe index: 3 number of parameters: 2 id: 117 unit: void AddAssetsTensorsToInputs() file: source/neuropod/backends/tensorflow/saved_model/loader.cc start line: 119 end line: 133 size: 15 LOC McCabe index: 3 number of parameters: 3 id: 118 unit: def randomify_neuropod() file: source/python/neuropod/utils/randomify.py start line: 0 end line: 0 size: 15 LOC McCabe index: 3 number of parameters: 3 id: 119 unit: def print_output_summary() file: source/python/neuropod/utils/eval_utils.py start line: 0 end line: 0 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 120 unit: inline void ipc_serialize() file: source/neuropod/multiprocess/serialization/ipc_serialization.hh start line: 65 end line: 82 size: 14 LOC McCabe index: 4 number of parameters: 2 id: 121 unit: ReturnType deserialize() file: source/neuropod/serialization/serialization.hh start line: 104 end line: 118 size: 14 LOC McCabe index: 3 number of parameters: 2 id: 122 unit: JNIEXPORT jobject JNICALL Java_com_uber_neuropod_Neuropod_nativeGetInputs() file: source/neuropod/bindings/java/src/main/native/com_uber_neuropod_Neuropod.cc start line: 167 end line: 180 size: 14 LOC McCabe index: 2 number of parameters: 3 id: 123 unit: JNIEXPORT jobject JNICALL Java_com_uber_neuropod_Neuropod_nativeGetOutputs() file: source/neuropod/bindings/java/src/main/native/com_uber_neuropod_Neuropod.cc start line: 183 end line: 196 size: 14 LOC McCabe index: 2 number of parameters: 3 id: 124 unit: def release() file: source/neuropod/backends/python_bridge/_neuropod_native_bootstrap/filelock.py start line: 0 end line: 0 size: 14 LOC McCabe index: 4 number of parameters: 2 id: 125 unit: def _acquire() file: source/neuropod/backends/python_bridge/_neuropod_native_bootstrap/filelock.py start line: 0 end line: 0 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 126 unit: void NeuropodBackend::load_model() file: source/neuropod/backends/neuropod_backend.cc start line: 227 end line: 240 size: 14 LOC McCabe index: 2 number of parameters: 0 id: 127 unit: def _placeholdes_from_input_spec() file: source/python/neuropod/utils/randomify.py start line: 0 end line: 0 size: 14 LOC McCabe index: 5 number of parameters: 2 id: 128 unit: def upload_package() file: build/upload_release.py start line: 0 end line: 0 size: 14 LOC McCabe index: 2 number of parameters: 4 id: 129 unit: void pop() file: source/neuropod/internal/blocking_spsc_queue.hh start line: 81 end line: 97 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 130 unit: inline void ipc_deserialize() file: source/neuropod/multiprocess/serialization/ipc_serialization.hh start line: 220 end line: 237 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 131 unit: NeuropodValueMap deserialize() file: source/neuropod/serialization/serialization.cc start line: 102 end line: 117 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 132 unit: JNIEXPORT jstring JNICALL Java_com_uber_neuropod_Neuropod_nativeGetName() file: source/neuropod/bindings/java/src/main/native/com_uber_neuropod_Neuropod.cc start line: 137 end line: 149 size: 13 LOC McCabe index: 2 number of parameters: 3 id: 133 unit: JNIEXPORT jstring JNICALL Java_com_uber_neuropod_Neuropod_nativeGetPlatform() file: source/neuropod/bindings/java/src/main/native/com_uber_neuropod_Neuropod.cc start line: 152 end line: 164 size: 13 LOC McCabe index: 2 number of parameters: 3 id: 134 unit: JNIEXPORT jlong JNICALL Java_com_uber_neuropod_Neuropod_nativeGetAllocator() file: source/neuropod/bindings/java/src/main/native/com_uber_neuropod_Neuropod.cc start line: 199 end line: 211 size: 13 LOC McCabe index: 2 number of parameters: 3 id: 135 unit: JNIEXPORT jlong JNICALL Java_com_uber_neuropod_Neuropod_nativeGetGenericAllocator() file: source/neuropod/bindings/java/src/main/native/com_uber_neuropod_Neuropod.cc start line: 214 end line: 226 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 136 unit: void JNI_OnUnload() file: source/neuropod/bindings/java/src/main/native/jclass_register.cc start line: 132 end line: 147 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 137 unit: NP_RuntimeOptions NP_DefaultRuntimeOptions() file: source/neuropod/bindings/c/c_api.cc start line: 50 end line: 68 size: 13 LOC McCabe index: 1 number of parameters: 0 id: 138 unit: TensorType get_array_type() file: source/neuropod/bindings/python_bindings.cc start line: 35 end line: 52 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 139 unit: void set_python_path() file: source/neuropod/backends/python_bridge/python_bridge.cc start line: 47 end line: 63 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 140 unit: TensorType get_neuropod_type_from_tf_type() file: source/neuropod/backends/tensorflow/type_utils.cc start line: 41 end line: 55 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 141 unit: TensorType get_neuropod_type_from_torch_type() file: source/neuropod/backends/torchscript/type_utils.cc start line: 44 end line: 58 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 142 unit: torch::Dtype get_torch_type_from_neuropod_type() file: source/neuropod/backends/torchscript/type_utils.cc start line: 60 end line: 74 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 143 unit: def check_output_matches_expected() file: source/python/neuropod/utils/eval_utils.py start line: 0 end line: 0 size: 13 LOC McCabe index: 4 number of parameters: 2 id: 144 unit: void emplace() file: source/neuropod/internal/blocking_spsc_queue.hh start line: 64 end line: 79 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 145 unit: void copy_from() file: source/neuropod/internal/neuropod_tensor.hh start line: 419 end line: 434 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 146 unit: std::string get_file_path() file: source/neuropod/internal/neuropod_loader.cc start line: 165 end line: 183 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 147 unit: std::unique_ptr get_loader() file: source/neuropod/internal/neuropod_loader.cc start line: 225 end line: 238 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 148 unit: void TransferrableController::add() file: source/neuropod/multiprocess/mq/transferrables.cc start line: 36 end line: 49 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 149 unit: void serialize() file: source/neuropod/serialization/serialization.cc start line: 53 end line: 69 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 150 unit: std::shared_ptr deserialize() file: source/neuropod/serialization/serialization.cc start line: 72 end line: 87 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 151 unit: JNIEXPORT void JNICALL Java_com_uber_neuropod_RuntimeOptions_00024RuntimeOptionsNative_nativeDelete() file: source/neuropod/bindings/java/src/main/native/com_uber_neuropod_RuntimeOptions_RuntimeOptionsNative.cc start line: 59 end line: 70 size: 12 LOC McCabe index: 2 number of parameters: 3 id: 152 unit: JNIEXPORT void JNICALL Java_com_uber_neuropod_Neuropod_nativeLoadModel() file: source/neuropod/bindings/java/src/main/native/com_uber_neuropod_Neuropod.cc start line: 123 end line: 134 size: 12 LOC McCabe index: 2 number of parameters: 3 id: 153 unit: std::string to_string() file: source/neuropod/bindings/java/src/main/native/utils.cc start line: 35 end line: 50 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 154 unit: void copy_from() file: source/neuropod/backends/tensorflow/tf_tensor.hh start line: 160 end line: 172 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 155 unit: Status LoadMetagraphIntoSession() file: source/neuropod/backends/tensorflow/saved_model/loader.cc start line: 270 end line: 286 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 156 unit: torch::Device TorchNeuropodBackend::get_torch_device() file: source/neuropod/backends/torchscript/torch_backend.cc start line: 277 end line: 292 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 157 unit: std::vector get_default_backend_map() file: source/neuropod/internal/backend_registration.cc start line: 129 end line: 148 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 158 unit: std::vector get_data_as_vector() file: source/neuropod/internal/neuropod_tensor.hh start line: 541 end line: 556 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 159 unit: std::vector compute_strides() file: source/neuropod/internal/neuropod_tensor.cc start line: 39 end line: 59 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 160 unit: inline void ipc_deserialize() file: source/neuropod/multiprocess/serialization/ipc_serialization.hh start line: 186 end line: 199 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 161 unit: int main() file: source/neuropod/multiprocess/multiprocess_worker_main.cc start line: 22 end line: 35 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 162 unit: struct __attribute__() file: source/neuropod/multiprocess/shm/shm_allocator.cc start line: 38 end line: 59 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 163 unit: void ipc_serialize() file: source/neuropod/multiprocess/shm_tensor.cc start line: 39 end line: 53 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 164 unit: bool register_serializable() file: source/neuropod/serialization/serialization.hh start line: 53 end line: 64 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 165 unit: JNIEXPORT void JNICALL Java_com_uber_neuropod_Neuropod_nativeDelete() file: source/neuropod/bindings/java/src/main/native/com_uber_neuropod_Neuropod.cc start line: 109 end line: 120 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 166 unit: jobject createDirectBuffer() file: source/neuropod/bindings/java/src/main/native/utils_impl.h start line: 24 end line: 34 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 167 unit: tensorflow::DataType get_tf_type_from_neuropod_type() file: source/neuropod/backends/tensorflow/type_utils.cc start line: 57 end line: 69 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 168 unit: Status LoadSavedModelInternal() file: source/neuropod/backends/tensorflow/saved_model/loader.cc start line: 247 end line: 264 size: 11 LOC McCabe index: 1 number of parameters: 5 id: 169 unit: def _zipdir() file: source/python/neuropod/utils/packaging_utils.py start line: 0 end line: 0 size: 11 LOC McCabe index: 4 number of parameters: 2 id: 170 unit: def packager() file: source/python/neuropod/utils/packaging_utils.py start line: 0 end line: 0 size: 11 LOC McCabe index: 5 number of parameters: 1 id: 171 unit: def canonicalize_tensor_spec() file: source/python/neuropod/utils/config_utils.py start line: 0 end line: 0 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 172 unit: def write_neuropod_config() file: source/python/neuropod/utils/config_utils.py start line: 0 end line: 0 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 173 unit: def inputs() file: source/python/neuropod/loader.py start line: 0 end line: 0 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 174 unit: def outputs() file: source/python/neuropod/loader.py start line: 0 end line: 0 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 175 unit: def load_neuropod() file: source/python/neuropod/loader.py start line: 0 end line: 0 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 176 unit: def create_tensorflow_neuropod() file: source/python/neuropod/backends/tensorflow/packager.py start line: 0 end line: 0 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 177 unit: void run_deleter() file: source/neuropod/internal/deleter.cc start line: 34 end line: 45 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 178 unit: std::unique_ptr load_model_config() file: source/neuropod/internal/config_utils.cc start line: 140 end line: 152 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 179 unit: void assure_type() file: source/neuropod/internal/neuropod_tensor.hh start line: 248 end line: 258 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 180 unit: inline void ipc_serialize() file: source/neuropod/multiprocess/serialization/ipc_serialization.hh start line: 203 end line: 217 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 181 unit: explicit RawSHMBlock() file: source/neuropod/multiprocess/shm/raw_shm_block_allocator.cc start line: 96 end line: 117 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 182 unit: void maybe_get_and_pop() file: source/neuropod/multiprocess/shm/shm_allocator.cc start line: 90 end line: 99 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 183 unit: void serialize() file: source/neuropod/serialization/serialization.cc start line: 89 end line: 99 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 184 unit: private static boolean loadSharedLibrary() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/LibraryLoader.java start line: 58 end line: 67 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 185 unit: private static String getOS() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/LibraryLoader.java start line: 121 end line: 130 size: 10 LOC McCabe index: 4 number of parameters: 0 id: 186 unit: public String toString() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/Dimension.java start line: 86 end line: 95 size: 10 LOC McCabe index: 4 number of parameters: 0 id: 187 unit: def _release() file: source/neuropod/backends/python_bridge/_neuropod_native_bootstrap/filelock.py start line: 0 end line: 0 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 188 unit: def _acquire() file: source/neuropod/backends/python_bridge/_neuropod_native_bootstrap/filelock.py start line: 0 end line: 0 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 189 unit: std::vector get_dims() file: source/neuropod/backends/tensorflow/tf_tensor.cc start line: 117 end line: 127 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 190 unit: def _create_neuropod() file: source/python/neuropod/utils/packaging_utils.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 191 unit: def _convert_native_shape_to_list() file: source/python/neuropod/loader.py start line: 0 end line: 0 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 192 unit: def create_torchscript_neuropod() file: source/python/neuropod/backends/torchscript/packager.py start line: 0 end line: 0 size: 10 LOC McCabe index: 4 number of parameters: 4 id: 193 unit: void assure_rank() file: source/neuropod/internal/neuropod_tensor.hh start line: 259 end line: 267 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 194 unit: auto view_helper() file: source/neuropod/internal/neuropod_tensor.hh start line: 275 end line: 287 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 195 unit: std::vector get_data_as_vector() file: source/neuropod/internal/neuropod_tensor.hh start line: 404 end line: 417 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 196 unit: std::unique_ptr make_tensor_no_string() file: source/neuropod/internal/neuropod_tensor.hh start line: 661 end line: 670 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 197 unit: std::unique_ptr get_istream_for_file() file: source/neuropod/internal/neuropod_loader.cc start line: 53 end line: 62 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 198 unit: explicit ZipLoader() file: source/neuropod/internal/neuropod_loader.cc start line: 93 end line: 102 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 199 unit: inline void ipc_serialize() file: source/neuropod/multiprocess/serialization/ipc_serialization.hh start line: 172 end line: 183 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 200 unit: struct __attribute__() file: source/neuropod/multiprocess/shm/raw_shm_block_allocator.cc start line: 42 end line: 58 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 201 unit: public LongBuffer toLongBuffer() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/NeuropodTensor.java start line: 91 end line: 99 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 202 unit: public FloatBuffer toFloatBuffer() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/NeuropodTensor.java start line: 110 end line: 118 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 203 unit: public IntBuffer toIntBuffer() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/NeuropodTensor.java start line: 129 end line: 137 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 204 unit: public DoubleBuffer toDoubleBuffer() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/NeuropodTensor.java start line: 148 end line: 156 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 205 unit: jclass find_class() file: source/neuropod/bindings/java/src/main/native/utils.cc start line: 62 end line: 70 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 206 unit: jmethodID get_method_id() file: source/neuropod/bindings/java/src/main/native/utils.cc start line: 72 end line: 80 size: 9 LOC McCabe index: 3 number of parameters: 4 id: 207 unit: jobject get_tensor_type_field() file: source/neuropod/bindings/java/src/main/native/utils.cc start line: 82 end line: 90 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 208 unit: void throw_java_exception() file: source/neuropod/bindings/java/src/main/native/utils.cc start line: 101 end line: 112 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 209 unit: NeuropodValueMap from_numpy_dict() file: source/neuropod/bindings/python_bindings.cc start line: 205 end line: 215 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 210 unit: py::dict to_numpy_dict() file: source/neuropod/bindings/python_bindings.cc start line: 217 end line: 227 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 211 unit: def _acquire() file: source/neuropod/backends/python_bridge/_neuropod_native_bootstrap/filelock.py start line: 0 end line: 0 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 212 unit: tensorflow::SessionOptions get_tf_opts() file: source/neuropod/backends/tensorflow/tf_backend.cc start line: 89 end line: 109 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 213 unit: tensorflow::TensorShape get_tf_shape() file: source/neuropod/backends/tensorflow/tf_tensor.cc start line: 105 end line: 114 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 214 unit: Status ReadMetaGraphDefFromSavedModel() file: source/neuropod/backends/tensorflow/saved_model/reader.cc start line: 91 end line: 99 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 215 unit: void process_dict() file: source/neuropod/backends/torchscript/torch_backend.cc start line: 209 end line: 218 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 216 unit: std::shared_ptr Sealer::seal() file: source/neuropod/backends/neuropod_backend.cc start line: 57 end line: 66 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 217 unit: NeuropodValueMap Sealer::seal() file: source/neuropod/backends/neuropod_backend.cc start line: 68 end line: 77 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 218 unit: def load_test_data() file: source/python/neuropod/utils/eval_utils.py start line: 0 end line: 0 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 219 unit: def read_neuropod_config() file: source/python/neuropod/utils/config_utils.py start line: 0 end line: 0 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 220 unit: def infer() file: source/python/neuropod/loader.py start line: 0 end line: 0 size: 9 LOC McCabe index: 5 number of parameters: 2 id: 221 unit: std::shared_ptr to() file: source/neuropod/internal/neuropod_tensor.hh start line: 295 end line: 304 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 222 unit: std::string get_file_path() file: source/neuropod/internal/neuropod_loader.cc start line: 64 end line: 75 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 223 unit: std::string NeuropodLoader::get_hash_for_file() file: source/neuropod/internal/neuropod_loader.cc start line: 213 end line: 221 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 224 unit: void NeuropodTensor::assure_device_cpu() file: source/neuropod/internal/neuropod_tensor.cc start line: 147 end line: 154 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 225 unit: inline void checked_write() file: source/neuropod/multiprocess/serialization/ipc_serialization.hh start line: 37 end line: 44 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 226 unit: inline void checked_read() file: source/neuropod/multiprocess/serialization/ipc_serialization.hh start line: 47 end line: 54 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 227 unit: RuntimeOptionsNative toNative() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/RuntimeOptions.java start line: 92 end line: 99 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 228 unit: protected NeuropodTensor() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/NeuropodTensor.java start line: 46 end line: 53 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 229 unit: public boolean equals() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/TensorSpec.java start line: 70 end line: 77 size: 8 LOC McCabe index: 5 number of parameters: 1 id: 230 unit: std::string tensor_type_to_string() file: source/neuropod/bindings/java/src/main/native/utils.cc start line: 92 end line: 99 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 231 unit: py::bytes serialize_tensor_binding() file: source/neuropod/bindings/neuropod_native.cc start line: 75 end line: 85 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 232 unit: py::bytes serialize_valuemap_binding() file: source/neuropod/bindings/neuropod_native.cc start line: 98 end line: 108 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 233 unit: def sha256sum() file: source/neuropod/backends/python_bridge/_neuropod_native_bootstrap/hash_utils.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 234 unit: def _release() file: source/neuropod/backends/python_bridge/_neuropod_native_bootstrap/filelock.py start line: 0 end line: 0 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 235 unit: void PythonBridge::load_model_internal() file: source/neuropod/backends/python_bridge/python_bridge.cc start line: 192 end line: 209 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 236 unit: std::unique_ptr PythonBridge::infer_internal() file: source/neuropod/backends/python_bridge/python_bridge.cc start line: 237 end line: 253 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 237 unit: Status LoadSavedModel() file: source/neuropod/backends/tensorflow/saved_model/loader.cc start line: 288 end line: 295 size: 8 LOC McCabe index: 1 number of parameters: 5 id: 238 unit: def _get_default_args() file: source/python/neuropod/utils/packaging_utils.py start line: 0 end line: 0 size: 8 LOC McCabe index: 5 number of parameters: 1 id: 239 unit: def sha256sum() file: source/python/neuropod/utils/hash_utils.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 240 unit: def create_python_neuropod() file: source/python/neuropod/backends/python/packager.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 241 unit: def install_tensorflow() file: build/install_frameworks.py start line: 0 end line: 0 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 242 unit: void init_registrar_if_needed() file: source/neuropod/internal/backend_registration.cc start line: 46 end line: 54 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 243 unit: void init_logging() file: source/neuropod/internal/logging.cc start line: 69 end line: 75 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 244 unit: void assure_tensor() file: source/neuropod/internal/neuropod_tensor.hh start line: 125 end line: 131 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 245 unit: TensorAccessor accessor() file: source/neuropod/internal/neuropod_tensor.hh start line: 345 end line: 351 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 246 unit: TensorAccessor accessor() file: source/neuropod/internal/neuropod_tensor.hh start line: 354 end line: 360 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 247 unit: std::unique_ptr make_tensor() file: source/neuropod/internal/neuropod_tensor.hh start line: 651 end line: 658 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 248 unit: inline std::unique_ptr make_queue() file: source/neuropod/multiprocess/mq/ipc_message_queue_impl.hh start line: 35 end line: 41 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 249 unit: void IPCMessageQueue::throw_if_lost_heartbeat() file: source/neuropod/multiprocess/mq/ipc_message_queue_impl.hh start line: 184 end line: 191 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 250 unit: void IPCMessageQueue::send_message() file: source/neuropod/multiprocess/mq/ipc_message_queue_impl.hh start line: 282 end line: 288 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 251 unit: std::shared_ptr RawSHMBlockAllocator::allocate_shm() file: source/neuropod/multiprocess/shm/raw_shm_block_allocator.cc start line: 202 end line: 214 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 252 unit: struct __attribute__() file: source/neuropod/multiprocess/shm_tensor.hh start line: 41 end line: 49 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 253 unit: std::shared_ptr tensor_from_id() file: source/neuropod/multiprocess/shm_tensor.cc start line: 21 end line: 33 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 254 unit: void init_registrar_if_needed() file: source/neuropod/serialization/serialization.cc start line: 33 end line: 39 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 255 unit: public final void close() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/NativeClass.java start line: 76 end line: 84 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 256 unit: private static boolean isLoaded() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/LibraryLoader.java start line: 133 end line: 139 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 257 unit: public boolean equals() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/Dimension.java start line: 72 end line: 78 size: 7 LOC McCabe index: 4 number of parameters: 1 id: 258 unit: public String toString() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/TensorSpec.java start line: 85 end line: 91 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 259 unit: JNIEXPORT void JNICALL Java_com_uber_neuropod_LibraryLoader_nativeExport() file: source/neuropod/bindings/java/src/main/native/com_uber_neuropod_LibraryLoader.cc start line: 32 end line: 38 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 260 unit: py::dict infer() file: source/neuropod/bindings/neuropod_native.cc start line: 51 end line: 62 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 261 unit: py::array deserialize_tensor_binding() file: source/neuropod/bindings/neuropod_native.cc start line: 64 end line: 73 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 262 unit: py::dict deserialize_valuemap_binding() file: source/neuropod/bindings/neuropod_native.cc start line: 87 end line: 96 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 263 unit: def __init__() file: source/neuropod/backends/python_bridge/_neuropod_native_bootstrap/filelock.py start line: 0 end line: 0 size: 7 LOC McCabe index: 6 number of parameters: 3 id: 264 unit: void check_tf_status() file: source/neuropod/backends/tensorflow/tf_utils.cc start line: 69 end line: 75 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 265 unit: bool MaybeSavedModelDirectory() file: source/neuropod/backends/tensorflow/saved_model/loader.cc start line: 321 end line: 327 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 266 unit: std::unique_ptr tensor_from_memory() file: source/neuropod/backends/tensor_allocator.hh start line: 181 end line: 187 size: 7 LOC McCabe index: 1 number of parameters: 4 id: 267 unit: def eval_in_new_process() file: source/python/neuropod/utils/env_utils.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 268 unit: def run_model() file: source/python/neuropod/loader.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 269 unit: def get_release_id() file: build/upload_release.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 270 unit: def set_status() file: build/ci/set_status.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 271 unit: void TransferrableController::done() file: source/neuropod/multiprocess/mq/transferrables.cc start line: 51 end line: 56 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 272 unit: inline void ipc_deserialize() file: source/neuropod/multiprocess/serialization/ipc_serialization.hh start line: 114 end line: 119 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 273 unit: inline void ipc_serialize() file: source/neuropod/multiprocess/serialization/ipc_serialization.hh start line: 123 end line: 131 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 274 unit: void insert() file: source/neuropod/multiprocess/shm/shm_allocator.cc start line: 177 end line: 182 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 275 unit: void ipc_deserialize() file: source/neuropod/multiprocess/shm_tensor.cc start line: 56 end line: 64 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 276 unit: QueueMessage recv_message() file: source/neuropod/multiprocess/ipc_control_channel.hh start line: 79 end line: 85 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 277 unit: void register_serializer_internal() file: source/neuropod/serialization/serialization.cc start line: 46 end line: 51 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 278 unit: void serialize() file: source/neuropod/serialization/serialization.hh start line: 95 end line: 100 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 279 unit: protected final long getNativeHandle() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/NativeClass.java start line: 52 end line: 57 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 280 unit: public static void load() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/LibraryLoader.java start line: 49 end line: 55 size: 6 LOC McCabe index: 4 number of parameters: 0 id: 281 unit: private void checkType() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/NeuropodTensor.java start line: 265 end line: 271 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 282 unit: public NeuropodTensor copyFrom() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/NeuropodTensorAllocator.java start line: 78 end line: 83 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 283 unit: public NeuropodTensor copyFrom() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/NeuropodTensorAllocator.java start line: 94 end line: 99 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 284 unit: public NeuropodTensor copyFrom() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/NeuropodTensorAllocator.java start line: 110 end line: 115 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 285 unit: public NeuropodTensor copyFrom() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/NeuropodTensorAllocator.java start line: 126 end line: 131 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 286 unit: private static ByteBuffer allocateJavaBuffer() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/NeuropodTensorAllocator.java start line: 148 end line: 153 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 287 unit: private NeuropodTensor createTensorFromBuffer() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/NeuropodTensorAllocator.java start line: 155 end line: 160 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 288 unit: jstring to_jstring() file: source/neuropod/bindings/java/src/main/native/utils.cc start line: 52 end line: 60 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 289 unit: void NP_GetDims() file: source/neuropod/bindings/c/np_tensor.cc start line: 22 end line: 29 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 290 unit: def create_if_not_exists() file: source/neuropod/backends/python_bridge/_neuropod_native_bootstrap/pip_utils.py start line: 0 end line: 0 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 291 unit: def _release() file: source/neuropod/backends/python_bridge/_neuropod_native_bootstrap/filelock.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 292 unit: void FillAllocationDescription() file: source/neuropod/backends/tensorflow/tf_tensor.cc start line: 82 end line: 87 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 293 unit: Tensor CreateStringTensor() file: source/neuropod/backends/tensorflow/saved_model/loader.cc start line: 112 end line: 117 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 294 unit: def load_and_test_neuropod() file: source/python/neuropod/utils/eval_utils.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 295 unit: def __init__() file: build/gen_py_api_docs.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 296 unit: void throw_error_hh() file: source/neuropod/internal/error_utils_header_only.cc start line: 33 end line: 37 size: 5 LOC McCabe index: 1 number of parameters: 6 id: 297 unit: bool static_init_logging() file: source/neuropod/internal/logging.cc start line: 80 end line: 84 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 298 unit: void throw_error_hh() file: source/neuropod/internal/neuropod_tensor.cc start line: 66 end line: 70 size: 5 LOC McCabe index: 1 number of parameters: 6 id: 299 unit: size_t TransferrableController::size() file: source/neuropod/multiprocess/mq/transferrables.cc start line: 58 end line: 62 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 300 unit: void cleanup_control_channels() file: source/neuropod/multiprocess/mq/ipc_message_queue.cc start line: 29 end line: 34 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 301 unit: inline void ipc_serialize() file: source/neuropod/multiprocess/serialization/ipc_serialization.hh start line: 107 end line: 111 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 302 unit: inline void ipc_serialize() file: source/neuropod/multiprocess/serialization/ipc_serialization.hh start line: 164 end line: 168 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 303 unit: void load_model_internal() file: source/neuropod/multiprocess/multiprocess.cc start line: 286 end line: 293 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 304 unit: void IPCControlChannel::send_message() file: source/neuropod/multiprocess/ipc_control_channel.cc start line: 70 end line: 74 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 305 unit: void IPCControlChannel::cleanup() file: source/neuropod/multiprocess/ipc_control_channel.cc start line: 76 end line: 80 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 306 unit: std::shared_ptr RawSHMBlockAllocator::load_shm() file: source/neuropod/multiprocess/shm/raw_shm_block_allocator.cc start line: 216 end line: 224 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 307 unit: struct __attribute__() file: source/neuropod/multiprocess/shm/shm_allocator.cc start line: 65 end line: 69 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 308 unit: void insert() file: source/neuropod/multiprocess/shm/shm_allocator.cc start line: 101 end line: 105 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 309 unit: void clear() file: source/neuropod/multiprocess/shm/shm_allocator.cc start line: 107 end line: 111 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 310 unit: void clear() file: source/neuropod/multiprocess/shm/shm_allocator.cc start line: 184 end line: 188 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 311 unit: void SHMAllocator::free_unused_shm_blocks() file: source/neuropod/multiprocess/shm/shm_allocator.cc start line: 319 end line: 324 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 312 unit: inline std::vector copy_and_strip_last_dim() file: source/neuropod/multiprocess/shm_tensor.hh start line: 142 end line: 146 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 313 unit: struct __attribute__() file: source/neuropod/multiprocess/shm_tensor.hh start line: 154 end line: 161 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 314 unit: void send_message() file: source/neuropod/multiprocess/ipc_control_channel.hh start line: 65 end line: 69 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 315 unit: void send_message_move() file: source/neuropod/multiprocess/ipc_control_channel.hh start line: 72 end line: 76 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 316 unit: std::unique_ptr Neuropod::infer() file: source/neuropod/neuropod.cc start line: 66 end line: 72 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 317 unit: public int getInt() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/NeuropodTensor.java start line: 195 end line: 199 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 318 unit: public long getLong() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/NeuropodTensor.java start line: 211 end line: 215 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 319 unit: public double getDouble() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/NeuropodTensor.java start line: 227 end line: 231 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 320 unit: public float getFloat() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/NeuropodTensor.java start line: 243 end line: 247 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 321 unit: public String getString() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/NeuropodTensor.java start line: 259 end line: 263 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 322 unit: public Neuropod() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/Neuropod.java start line: 47 end line: 51 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 323 unit: public NeuropodTensor copyFrom() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/NeuropodTensorAllocator.java start line: 142 end line: 146 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 324 unit: public TensorSpec() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/TensorSpec.java start line: 36 end line: 40 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 325 unit: static file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/TensorType.java start line: 72 end line: 76 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 326 unit: std::unique_ptr make_neuropod() file: source/neuropod/bindings/neuropod_native.cc start line: 144 end line: 148 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 327 unit: void NP_ClearStatus() file: source/neuropod/bindings/c/np_status.cc start line: 33 end line: 37 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 328 unit: void NP_LoadNeuropod() file: source/neuropod/bindings/c/c_api.cc start line: 71 end line: 75 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 329 unit: def bootstrap_requirements() file: source/neuropod/backends/python_bridge/_neuropod_native_bootstrap/pip_utils.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 330 unit: void set() file: source/neuropod/backends/tensorflow/tf_tensor.hh start line: 179 end line: 183 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 331 unit: std::string get() file: source/neuropod/backends/torchscript/torch_tensor.hh start line: 273 end line: 277 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 332 unit: void set() file: source/neuropod/backends/torchscript/torch_tensor.hh start line: 279 end line: 283 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 333 unit: def set_packager_docstring() file: source/python/neuropod/utils/packaging_utils.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 334 unit: def _generate_default_arg_map() file: source/python/neuropod/utils/packaging_utils.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 335 unit: def expand_default_kwargs() file: source/python/neuropod/utils/packaging_utils.py start line: 0 end line: 0 size: 5 LOC McCabe index: 6 number of parameters: 1 id: 336 unit: def get_dtype_name() file: source/python/neuropod/utils/dtype_utils.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 337 unit: def __init__() file: source/python/neuropod/loader.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 338 unit: def __init__() file: build/gen_py_api_docs.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 4 id: 339 unit: void throw_error_hh() file: source/neuropod/internal/error_utils_header_only.cc start line: 23 end line: 26 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 340 unit: void throw_error_hh() file: source/neuropod/internal/error_utils_header_only.cc start line: 28 end line: 31 size: 4 LOC McCabe index: 1 number of parameters: 5 id: 341 unit: typename detail::unique_if::unique_ptr make_unique() file: source/neuropod/internal/memory_utils.hh start line: 50 end line: 53 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 342 unit: typename detail::unique_if::unique_ptr_array_unknown_bound make_unique() file: source/neuropod/internal/memory_utils.hh start line: 56 end line: 59 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 343 unit: std::unique_ptr createNeuropodBackend() file: source/neuropod/internal/backend_registration.hh start line: 39 end line: 42 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 344 unit: size_t NeuropodTensorRawDataAccess::get_bytes_per_element() file: source/neuropod/internal/neuropod_tensor_raw_data_access.cc start line: 33 end line: 36 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 345 unit: inline AccessorIterator get_iterator() file: source/neuropod/internal/tensor_accessor.hh start line: 56 end line: 59 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 346 unit: inline TensorType get_tensor_type_from_cpp() file: source/neuropod/internal/neuropod_tensor.hh start line: 46 end line: 49 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 347 unit: auto view() file: source/neuropod/internal/neuropod_tensor.hh start line: 367 end line: 370 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 348 unit: auto view() file: source/neuropod/internal/neuropod_tensor.hh start line: 373 end line: 376 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 349 unit: auto flat() file: source/neuropod/internal/neuropod_tensor.hh start line: 380 end line: 384 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 350 unit: auto flat() file: source/neuropod/internal/neuropod_tensor.hh start line: 386 end line: 390 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 351 unit: auto view() file: source/neuropod/internal/neuropod_tensor.hh start line: 582 end line: 585 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 352 unit: auto view() file: source/neuropod/internal/neuropod_tensor.hh start line: 588 end line: 591 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 353 unit: auto flat() file: source/neuropod/internal/neuropod_tensor.hh start line: 595 end line: 599 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 354 unit: auto flat() file: source/neuropod/internal/neuropod_tensor.hh start line: 601 end line: 605 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 355 unit: size_t get_bytes_per_element() file: source/neuropod/internal/neuropod_tensor.hh start line: 638 end line: 641 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 356 unit: size_t compute_num_elements() file: source/neuropod/internal/neuropod_tensor.cc start line: 28 end line: 32 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 357 unit: void throw_error_hh() file: source/neuropod/internal/neuropod_tensor.cc start line: 61 end line: 64 size: 4 LOC McCabe index: 1 number of parameters: 5 id: 358 unit: void get() file: source/neuropod/multiprocess/mq/ipc_message_queue.hh start line: 62 end line: 65 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 359 unit: inline std::unique_ptr make_send_queue() file: source/neuropod/multiprocess/mq/ipc_message_queue_impl.hh start line: 44 end line: 48 size: 4 LOC McCabe index: 2 number of parameters: 2 id: 360 unit: inline std::unique_ptr make_recv_queue() file: source/neuropod/multiprocess/mq/ipc_message_queue_impl.hh start line: 51 end line: 55 size: 4 LOC McCabe index: 2 number of parameters: 2 id: 361 unit: std::string get_key_from_uuid() file: source/neuropod/multiprocess/shm/raw_shm_block_allocator.cc start line: 61 end line: 64 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 362 unit: struct __attribute__() file: source/neuropod/multiprocess/shm/raw_shm_block_allocator.cc start line: 72 end line: 75 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 363 unit: void Neuropod::load_model() file: source/neuropod/neuropod.cc start line: 61 end line: 64 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 364 unit: std::shared_ptr Neuropod::get_tensor_allocator() file: source/neuropod/neuropod.cc start line: 94 end line: 97 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 365 unit: public List toStringList() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/NeuropodTensor.java start line: 180 end line: 183 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 366 unit: protected void nativeDelete() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/NeuropodTensor.java start line: 306 end line: 309 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 367 unit: public Dimension() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/Dimension.java start line: 48 end line: 51 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 368 unit: JNIEXPORT jboolean JNICALL Java_com_uber_neuropod_LibraryLoader_nativeIsLoaded() file: source/neuropod/bindings/java/src/main/native/com_uber_neuropod_LibraryLoader.cc start line: 26 end line: 29 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 369 unit: void NP_FreeAllocator() file: source/neuropod/bindings/c/np_tensor_allocator.cc start line: 21 end line: 24 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 370 unit: void NP_FreeValueMap() file: source/neuropod/bindings/c/np_valuemap.cc start line: 28 end line: 31 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 371 unit: void NP_InsertTensor() file: source/neuropod/bindings/c/np_valuemap.cc start line: 38 end line: 41 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 372 unit: void NP_RemoveTensor() file: source/neuropod/bindings/c/np_valuemap.cc start line: 64 end line: 67 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 373 unit: NP_TensorType NP_GetType() file: source/neuropod/bindings/c/np_tensor.cc start line: 32 end line: 35 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 374 unit: size_t NP_GetNumElements() file: source/neuropod/bindings/c/np_tensor.cc start line: 50 end line: 53 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 375 unit: void NP_FreeTensor() file: source/neuropod/bindings/c/np_tensor.cc start line: 56 end line: 59 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 376 unit: void NP_DeleteStatus() file: source/neuropod/bindings/c/np_status.cc start line: 26 end line: 29 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 377 unit: NP_Code NP_GetCode() file: source/neuropod/bindings/c/np_status.cc start line: 41 end line: 44 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 378 unit: void NP_FreeNeuropod() file: source/neuropod/bindings/c/c_api.cc start line: 78 end line: 81 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 379 unit: void NP_Infer() file: source/neuropod/bindings/c/c_api.cc start line: 84 end line: 87 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 380 unit: size_t NP_GetNumInputs() file: source/neuropod/bindings/c/c_api.cc start line: 134 end line: 137 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 381 unit: size_t NP_GetNumOutputs() file: source/neuropod/bindings/c/c_api.cc start line: 140 end line: 143 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 382 unit: std::vector get_default_python_path() file: source/neuropod/backends/python_bridge/python_bridge.hh start line: 35 end line: 38 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 383 unit: def cleanup_symlink() file: source/neuropod/backends/python_bridge/_neuropod_native_bootstrap/executor.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 384 unit: def load_deps() file: source/neuropod/backends/python_bridge/_neuropod_native_bootstrap/pip_utils.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 385 unit: def logger() file: source/neuropod/backends/python_bridge/_neuropod_native_bootstrap/filelock.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 386 unit: static Tensor MakeTensor() file: source/neuropod/backends/tensorflow/tf_tensor.cc start line: 33 end line: 36 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 387 unit: string MetaFilename() file: source/neuropod/backends/tensorflow/saved_model/loader.cc start line: 207 end line: 210 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 388 unit: inline torch::jit::IValue get_ivalue_from_torch_tensor() file: source/neuropod/backends/torchscript/torch_tensor.hh start line: 287 end line: 290 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 389 unit: std::unique_ptr NeuropodBackend::infer_internal() file: source/neuropod/backends/neuropod_backend.cc start line: 321 end line: 324 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 390 unit: std::unique_ptr allocate_tensor() file: source/neuropod/backends/tensor_allocator.hh start line: 176 end line: 179 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 391 unit: std::unique_ptr get_generic_tensor_allocator() file: source/neuropod/core/generic_tensor.cc start line: 26 end line: 29 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 392 unit: def get_dtype() file: source/python/neuropod/utils/dtype_utils.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 393 unit: def save_test_data() file: source/python/neuropod/utils/eval_utils.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 394 unit: def pip_install() file: build/install_frameworks.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 395 unit: def should_upload() file: build/upload_release.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 396 unit: public NeuropodJNIException() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/NeuropodJNIException.java start line: 27 end line: 29 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 397 unit: static file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/NativeClass.java start line: 25 end line: 27 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 398 unit: protected NativeClass() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/NativeClass.java start line: 43 end line: 45 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 399 unit: protected final void setNativeHandle() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/NativeClass.java start line: 64 end line: 66 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 400 unit: protected NeuropodTensor() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/NeuropodTensor.java start line: 41 end line: 43 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 401 unit: public long getNumberOfElements() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/NeuropodTensor.java start line: 69 end line: 71 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 402 unit: public TensorType getTensorType() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/NeuropodTensor.java start line: 78 end line: 80 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 403 unit: public ByteBuffer getByteBuffer() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/NeuropodTensor.java start line: 167 end line: 169 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 404 unit: private long getHandle() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/NeuropodTensor.java start line: 301 end line: 303 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 405 unit: protected Neuropod() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/Neuropod.java start line: 28 end line: 30 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 406 unit: public Neuropod() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/Neuropod.java start line: 37 end line: 39 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 407 unit: public String getName() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/Neuropod.java start line: 58 end line: 60 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 408 unit: public String getPlatform() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/Neuropod.java start line: 67 end line: 69 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 409 unit: public Map infer() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/Neuropod.java start line: 77 end line: 79 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 410 unit: public Map infer() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/Neuropod.java start line: 89 end line: 91 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 411 unit: public List getInputs() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/Neuropod.java start line: 98 end line: 100 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 412 unit: public List getOutputs() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/Neuropod.java start line: 107 end line: 109 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 413 unit: public void loadModel() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/Neuropod.java start line: 114 end line: 116 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 414 unit: public NeuropodTensorAllocator getTensorAllocator() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/Neuropod.java start line: 123 end line: 125 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 415 unit: public static NeuropodTensorAllocator getGenericTensorAllocator() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/Neuropod.java start line: 132 end line: 134 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 416 unit: protected NeuropodTensorAllocator() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/NeuropodTensorAllocator.java start line: 29 end line: 31 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 417 unit: public Dimension() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/Dimension.java start line: 39 end line: 41 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 418 unit: public long getValue() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/Dimension.java start line: 58 end line: 60 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 419 unit: public String getSymbol() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/Dimension.java start line: 67 end line: 69 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 420 unit: public int hashCode() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/Dimension.java start line: 81 end line: 83 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 421 unit: public String getName() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/TensorSpec.java start line: 47 end line: 49 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 422 unit: public TensorType getType() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/TensorSpec.java start line: 56 end line: 58 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 423 unit: public List getDims() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/TensorSpec.java start line: 65 end line: 67 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 424 unit: public int hashCode() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/TensorSpec.java start line: 80 end line: 82 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 425 unit: private TensorType() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/TensorType.java start line: 68 end line: 70 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 426 unit: protected static TensorType valueOf() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/TensorType.java start line: 78 end line: 80 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 427 unit: protected int getValue() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/TensorType.java start line: 82 end line: 84 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 428 unit: def __init__() file: source/neuropod/backends/python_bridge/_neuropod_native_bootstrap/filelock.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 429 unit: def __str__() file: source/neuropod/backends/python_bridge/_neuropod_native_bootstrap/filelock.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 430 unit: def __init__() file: source/neuropod/backends/python_bridge/_neuropod_native_bootstrap/filelock.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 431 unit: def __exit__() file: source/neuropod/backends/python_bridge/_neuropod_native_bootstrap/filelock.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 432 unit: def timeout() file: source/neuropod/backends/python_bridge/_neuropod_native_bootstrap/filelock.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 433 unit: def __enter__() file: source/neuropod/backends/python_bridge/_neuropod_native_bootstrap/filelock.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 434 unit: def __exit__() file: source/neuropod/backends/python_bridge/_neuropod_native_bootstrap/filelock.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 435 unit: def __del__() file: source/neuropod/backends/python_bridge/_neuropod_native_bootstrap/filelock.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 436 unit: def register_backend() file: source/python/neuropod/registry.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 437 unit: def set_default() file: build/gen_py_api_docs.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 438 unit: def write_doc_for_packager() file: build/gen_py_api_docs.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 439 unit: std::unique_ptr infer() file: source/neuropod/neuropod.hh start line: 75 end line: 76 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 440 unit: public RuntimeOptions() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/RuntimeOptions.java start line: 84 end line: 85 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 441 unit: public NativeClass() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/NativeClass.java start line: 35 end line: 36 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 442 unit: private LibraryLoader() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/LibraryLoader.java start line: 35 end line: 36 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 443 unit: def __enter__() file: source/neuropod/backends/python_bridge/_neuropod_native_bootstrap/filelock.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 444 unit: def lock_file() file: source/neuropod/backends/python_bridge/_neuropod_native_bootstrap/filelock.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 445 unit: def timeout() file: source/neuropod/backends/python_bridge/_neuropod_native_bootstrap/filelock.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 446 unit: def _acquire() file: source/neuropod/backends/python_bridge/_neuropod_native_bootstrap/filelock.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 447 unit: def _release() file: source/neuropod/backends/python_bridge/_neuropod_native_bootstrap/filelock.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 448 unit: def is_locked() file: source/neuropod/backends/python_bridge/_neuropod_native_bootstrap/filelock.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 449 unit: std::unique_ptr infer() file: source/neuropod/backends/neuropod_backend.hh start line: 61 end line: 62 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 450 unit: def has_ext_modules() file: source/python/setup.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 451 unit: def name() file: source/python/neuropod/loader.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 452 unit: def platform() file: source/python/neuropod/loader.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 453 unit: def __enter__() file: source/python/neuropod/loader.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 454 unit: def __exit__() file: source/python/neuropod/loader.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 455 unit: def create_keras_neuropod() file: source/python/neuropod/backends/keras/packager.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 456 unit: def infer_keras_input_spec() file: source/python/neuropod/backends/keras/packager.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 457 unit: def infer_keras_output_spec() file: source/python/neuropod/backends/keras/packager.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 458 unit: def add_doc_line() file: build/gen_py_api_docs.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 459 unit: def get_clean_doc() file: build/gen_py_api_docs.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 460 unit: def get_repo_info() file: build/upload_release.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 461 unit: auto begin() file: source/neuropod/internal/tensor_accessor.hh start line: 143 end line: 143 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 462 unit: auto end() file: source/neuropod/internal/tensor_accessor.hh start line: 144 end line: 144 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 463 unit: auto begin() file: source/neuropod/internal/tensor_accessor.hh start line: 167 end line: 167 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 464 unit: auto end() file: source/neuropod/internal/tensor_accessor.hh start line: 168 end line: 168 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 465 unit: auto begin() file: source/neuropod/internal/tensor_accessor.hh start line: 191 end line: 191 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 466 unit: auto end() file: source/neuropod/internal/tensor_accessor.hh start line: 192 end line: 192 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 467 unit: auto accessor() file: source/neuropod/internal/tensor_accessor.hh start line: 195 end line: 195 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 468 unit: static std::string get_static_serialize_tag() file: source/neuropod/internal/neuropod_tensor.hh start line: 58 end line: 58 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 469 unit: std::string get_serialize_tag() file: source/neuropod/internal/neuropod_tensor.hh start line: 59 end line: 59 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 470 unit: virtual ~NeuropodValue() file: source/neuropod/internal/neuropod_tensor.hh start line: 102 end line: 102 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 471 unit: virtual ~NeuropodTensor() file: source/neuropod/internal/neuropod_tensor.hh start line: 161 end line: 161 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 472 unit: size_t get_num_elements() file: source/neuropod/internal/neuropod_tensor.hh start line: 182 end line: 182 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 473 unit: TensorType get_tensor_type() file: source/neuropod/internal/neuropod_tensor.hh start line: 184 end line: 184 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 474 unit: NeuropodDevice get_device() file: source/neuropod/internal/neuropod_tensor.hh start line: 186 end line: 186 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 475 unit: virtual std::shared_ptr to_internal() file: source/neuropod/internal/neuropod_tensor.hh start line: 307 end line: 307 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 476 unit: virtual ~TypedNeuropodTensor() file: source/neuropod/internal/neuropod_tensor.hh start line: 330 end line: 330 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 477 unit: void copy_from() file: source/neuropod/internal/neuropod_tensor.hh start line: 436 end line: 436 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 478 unit: size_t get_bytes_per_element() file: source/neuropod/internal/neuropod_tensor.hh start line: 487 end line: 487 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 479 unit: operator std::string() file: source/neuropod/internal/neuropod_tensor.hh start line: 508 end line: 508 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 480 unit: static int cmp() file: source/neuropod/internal/neuropod_tensor.hh start line: 511 end line: 511 size: 1 LOC McCabe index: 1 number of parameters: 2 id: 481 unit: virtual ~TypedNeuropodTensor() file: source/neuropod/internal/neuropod_tensor.hh start line: 531 end line: 531 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 482 unit: virtual ~NativeDataContainer() file: source/neuropod/internal/neuropod_tensor.hh start line: 681 end line: 681 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 483 unit: explicit LocalLoader() file: source/neuropod/internal/neuropod_loader.cc start line: 49 end line: 49 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 484 unit: std::string ensure_local() file: source/neuropod/internal/neuropod_loader.cc start line: 77 end line: 77 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 485 unit: UserPayloadType get_payload_type() file: source/neuropod/multiprocess/mq/ipc_message_queue.hh start line: 70 end line: 70 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 486 unit: RawSHMHandleInternal get_handle() file: source/neuropod/multiprocess/shm/raw_shm_block_allocator.cc start line: 193 end line: 193 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 487 unit: void overwrite_type() file: source/neuropod/multiprocess/shm_tensor.hh start line: 130 end line: 130 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 488 unit: SHMBlockID get_native_data() file: source/neuropod/multiprocess/shm_tensor.hh start line: 137 end line: 137 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 489 unit: void copy_from() file: source/neuropod/multiprocess/shm_tensor.hh start line: 213 end line: 213 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 490 unit: std::string get() file: source/neuropod/multiprocess/shm_tensor.hh start line: 255 end line: 255 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 491 unit: void set() file: source/neuropod/multiprocess/shm_tensor.hh start line: 257 end line: 257 size: 1 LOC McCabe index: 1 number of parameters: 2 id: 492 unit: private NeuropodDevice() file: source/neuropod/bindings/java/src/main/java/com/uber/neuropod/NeuropodDevice.java start line: 23 end line: 23 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 493 unit: std::string get() file: source/neuropod/backends/tensorflow/tf_tensor.hh start line: 177 end line: 177 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 494 unit: size_t size() file: source/neuropod/backends/tensorflow/tf_tensor.cc start line: 79 end line: 79 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 495 unit: bool OwnsMemory() file: source/neuropod/backends/tensorflow/tf_tensor.cc start line: 90 end line: 90 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 496 unit: std::shared_ptr get_tensor_allocator() file: source/neuropod/backends/neuropod_backend.hh start line: 121 end line: 121 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 497 unit: torch::jit::IValue get_native_data() file: source/neuropod/backends/torchscript/torch_tensor.hh start line: 153 end line: 153 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 498 unit: torch::jit::IValue get_native_data() file: source/neuropod/backends/torchscript/torch_tensor.hh start line: 259 end line: 259 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 499 unit: torch::jit::IValue get_native_data() file: source/neuropod/backends/torchscript/torch_tensor.hh start line: 264 end line: 264 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 500 unit: torch::jit::IValue get_native_data() file: source/neuropod/backends/torchscript/torch_tensor.hh start line: 268 end line: 268 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 501 unit: virtual ~NeuropodTensorAllocator() file: source/neuropod/backends/tensor_allocator.hh start line: 35 end line: 35 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 502 unit: void copy_from() file: source/neuropod/core/generic_tensor.hh start line: 79 end line: 79 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 503 unit: std::string get() file: source/neuropod/core/generic_tensor.hh start line: 82 end line: 82 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 504 unit: void set() file: source/neuropod/core/generic_tensor.hh start line: 84 end line: 84 size: 1 LOC McCabe index: 1 number of parameters: 2