├── .ci ├── bundle_instrument_expected_output.txt ├── bundle_tflite_custom_expected_output.txt ├── bundle_with_extra_objects_expected_output.txt ├── bundle_with_multiple_entries_expected_output.txt ├── lenet_mnist_expected_output.txt └── resnet50_expected_output.txt ├── .circleci ├── lsan_suppressions.txt └── run_coverage.sh ├── .clang-format ├── .clang-tidy ├── .github ├── build.sh ├── stale.yml ├── test.sh └── workflows │ └── glow-build.yml ├── .gitignore ├── .gitmodules ├── CMakeLists.txt ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── CONTRIBUTORS ├── LICENSE ├── PULL_REQUEST.md ├── PULL_REQUEST_TEMPLATE.md ├── README.md ├── cmake └── modules │ ├── CMakeGraphVizOptions.cmake │ ├── CoverageSupport.cmake │ ├── DoxygenSupport.cmake │ ├── FindBackends.cmake │ ├── Gflags.cmake │ ├── Glog.cmake │ ├── GlowAddLibjit.cmake │ ├── GlowDefaults.cmake │ ├── GlowExternalBackends.cmake │ ├── GlowSerialize.cmake │ ├── GlowTestSupport.cmake │ └── SanitizerSupport.cmake ├── docs ├── 3LevelIR.png ├── AOT.md ├── Backends.md ├── Block.md ├── Building.md ├── ClassGen.md ├── CodingStandards.md ├── DAG_example.png ├── Doxyfile.in ├── ExternalBackend.md ├── GlowWindowsBuildx86.md ├── GraphOptimizationPipeline.md ├── HeterogeneousPartition.png ├── IR.md ├── InferenceEngines.md ├── JIT.md ├── LLVMDebugInstrumentation.md ├── Lexicon.md ├── ModelLoader.md ├── ModelTuner.md ├── Network-Debugger.md ├── NewBackendSpecificNode.md ├── NewOperators.md ├── NodeSplitting.md ├── NodeSplitting.png ├── Onnxifi.md ├── Optimizations.md ├── Partitioner.md ├── Quantization.md ├── Runtime.md ├── Serialization.md ├── TensorLayout.md ├── Tensors.md ├── Testing.md ├── Tracing.md ├── XModelRunner.md ├── backend_dm_api.svg ├── chrome-tracing.png ├── glow_runtime.svg ├── logo.png ├── logo.svg ├── mnist.svg ├── module.png ├── network_init.svg ├── network_run.svg ├── nodes.png ├── partition1.png ├── partition2.png ├── partition3.png ├── partners │ ├── bitmain.png │ ├── cadence.png │ ├── ceva.png │ ├── esperanto.png │ ├── habana.png │ ├── intel.png │ ├── marvell.png │ ├── nxp.png │ ├── st.png │ └── synopsys.png ├── pred.png ├── pytorch.md ├── resnet50_quantized_subgraph.png ├── rowwise_quantized_fc.png └── tracing-example.png ├── examples ├── CMakeLists.txt ├── bundles │ ├── CMakeLists.txt │ ├── bundle_instrument │ │ ├── CMakeLists.txt │ │ └── main.cpp │ ├── bundle_tflite_custom │ │ ├── CMakeLists.txt │ │ ├── main.cpp │ │ └── tflite_custom.tflite │ ├── bundle_with_extra_objects │ │ ├── .gitignore │ │ ├── CMakeLists.txt │ │ ├── main.cpp │ │ └── test.o │ ├── bundle_with_multiple_entries │ │ ├── BundleSaver.cpp │ │ ├── CMakeLists.txt │ │ └── main.cpp │ ├── lenet_mnist │ │ ├── CMakeLists.txt │ │ └── main.cpp │ └── resnet50 │ │ ├── CMakeLists.txt │ │ └── main.cpp ├── char-rnn.cpp ├── cifar10.cpp ├── fr2en.cpp ├── lenet-loader.cpp ├── mnist.cpp ├── ptb.cpp ├── resnet-runtime.cpp ├── resnet-verify.cpp ├── tracing-compare.cpp └── training │ ├── CMakeLists.txt │ └── resnet50 │ ├── CMakeLists.txt │ └── main.cpp ├── externalbackends └── README.txt ├── include └── glow │ ├── Backend │ ├── Backend.h │ ├── BackendUtils.h │ ├── BlockStreamBase.h │ └── CompiledFunction.h │ ├── Backends │ ├── BackendOptions.h │ ├── DeviceManager.h │ ├── DummyDeviceManager.h │ ├── Interpreter │ │ ├── Interpreter.h │ │ ├── InterpreterDeviceManager.h │ │ └── InterpreterFunction.h │ ├── LayoutConverter.h │ └── QueueBackedDeviceManager.h │ ├── Base │ ├── DeviceTensorTransferManager.h │ ├── DimType.h │ ├── IO.h │ ├── Image.h │ ├── SliceRange.h │ ├── TaggedList.h │ ├── Tensor.h │ ├── TensorSerialization.h │ ├── Train.h │ ├── Traits.h │ └── Type.h │ ├── CodeGen │ └── MemoryAllocator.h │ ├── Converter │ ├── Float16Converter.h │ ├── FunctionConverter.h │ ├── FusedRowwiseConverter.h │ └── TypeAToTypeBFunctionConverter.h │ ├── ExecutionContext │ ├── ExecutionContext.h │ └── TraceEvents.h │ ├── ExecutionEngine │ └── ExecutionEngine.h │ ├── Exporter │ ├── CommonOperatorWriter.h │ ├── ONNXModelWriter.h │ └── ProtobufWriter.h │ ├── Flags │ └── Flags.h │ ├── Graph │ ├── FXIRUtils.h │ ├── FXIRWrapper.h │ ├── Grad.h │ ├── Graph.h │ ├── Hook.h │ ├── Log.h │ ├── Node.h │ ├── NodeValue.h │ ├── Nodes.h │ ├── PlaceholderBindings.h │ ├── TensorLayout.h │ ├── UseDef.h │ ├── Utils.h │ └── VerifierHelper.h │ ├── IR │ ├── IR.h │ ├── IRBuilder.h │ ├── IRGen.h │ ├── IRUtils.h │ ├── Instrs.h │ └── LLVMAPIMacros.h │ ├── Importer │ ├── Caffe2ModelLoader.h │ ├── CommonOperatorLoader.h │ ├── ONNXIFIModelLoader.h │ ├── ONNXModelLoader.h │ ├── ProtobufLoader.h │ └── TFLiteModelLoader.h │ ├── LLVMIRCodeGen │ ├── AllocationsInfo.h │ ├── BundleSaver.h │ ├── CommandLine.h │ ├── GlowJIT.h │ ├── JITFilePrinter.h │ ├── LLVMBackend.h │ ├── LLVMCompiledFunction.h │ └── LLVMIRGen.h │ ├── Optimizer │ ├── GraphOptimizer │ │ ├── CompilationContext.h │ │ ├── FunctionPass.h │ │ ├── FunctionPassManager.h │ │ ├── FunctionPassPipeline.h │ │ ├── FunctionPasses.def │ │ ├── FunctionPasses.h │ │ ├── GraphOptimizer.h │ │ ├── NodeSplitting.h │ │ └── TrainingPreparation.h │ ├── IROptimizer │ │ ├── CommandLine.h │ │ ├── IRFunctionPass.h │ │ ├── IRFunctionPassManager.h │ │ ├── IRFunctionPassPipeline.h │ │ ├── IRFunctionPasses.h │ │ ├── IROptimizer.h │ │ └── IRPasses.def │ └── Lower │ │ └── Lower.h │ ├── Partitioner │ ├── Partitioner.h │ ├── PartitionerBase.h │ ├── PartitionerOptimizer.h │ ├── PartitionerTypes.h │ ├── PartitionerUtils.h │ └── PartitionerValidation.h │ ├── PassManager │ ├── Pass.h │ ├── PassConfig.h │ ├── PassConfigUtils.h │ ├── PassManager.h │ └── Pipeline.h │ ├── Quantization │ ├── Base │ │ ├── Base.h │ │ ├── Calibration.h │ │ └── Profile.h │ ├── Quantization.h │ └── Serialization.h │ ├── Runtime │ ├── DeferredWeightLoader.h │ ├── DeviceHealthMonitor.h │ ├── ErrorReporter.h │ ├── Executor │ │ ├── Executor.h │ │ ├── NetworkExecutionState.h │ │ └── ThreadPoolExecutor.h │ ├── HostManager │ │ └── HostManager.h │ ├── InputSanitizer.h │ ├── Provisioner │ │ └── Provisioner.h │ ├── RequestData.h │ ├── RuntimeTypes.h │ ├── StatsExporter.h │ └── TraceExporter.h │ ├── Support │ ├── BFloat16.h │ ├── Compiler.h │ ├── Debug.h │ ├── Error.h │ ├── Float16.h │ ├── Memory.h │ ├── Random.h │ ├── Register.h │ ├── Support.h │ ├── TensorPool.h │ ├── ThreadPool.h │ └── ZipUtils.h │ └── Testing │ └── StrCheck.h ├── inference_engines └── x-inference-engines │ ├── CMakeLists.txt │ ├── main.c │ ├── x_inference_lib.c │ ├── x_inference_lib.h │ ├── x_perf_monitor.c │ └── x_perf_monitor.h ├── lib ├── Backend │ ├── Backend.cpp │ ├── BackendUtils.cpp │ ├── CMakeLists.txt │ └── CompiledFunction.cpp ├── Backends │ ├── Backends.cpp │ ├── CMakeLists.txt │ ├── CPU │ │ ├── CMakeLists.txt │ │ ├── CPUBackend.cpp │ │ ├── CPUBackend.h │ │ ├── CPUDeviceManager.cpp │ │ ├── CPUDeviceManager.h │ │ ├── CPUFactory.cpp │ │ ├── CPUFunction.cpp │ │ ├── CPUFunction.h │ │ ├── CPULLVMIRGen.cpp │ │ ├── CPULLVMIRGen.h │ │ ├── ClassGen │ │ │ ├── CMakeLists.txt │ │ │ ├── CPUSpecificInstrs.h │ │ │ ├── CPUSpecificInstrsVerification.h │ │ │ ├── CPUSpecificNodes.h │ │ │ └── CPUSpecificNodesVerification.h │ │ ├── ONNX │ │ │ └── CPUONNXModelWriter.cpp │ │ ├── Transforms.cpp │ │ ├── libjit_cpu │ │ │ ├── libjit_cpu.cpp │ │ │ └── libjit_cpu_conv.cpp │ │ ├── libobj_cpu │ │ │ └── Readme.md │ │ └── tests │ │ │ ├── CPUBackendCorrectnessTest.cpp │ │ │ ├── CPUBackendTest.cpp │ │ │ ├── CPUDeferredWeightLoaderTest.cpp │ │ │ ├── CPUDeviceManagerTest.cpp │ │ │ ├── CPUGradCheckTest.cpp │ │ │ ├── CPUGraphOptzTest.cpp │ │ │ ├── CPUHostManagerTest.cpp │ │ │ ├── CPUMLTest.cpp │ │ │ ├── CPUOperatorGradTest.cpp │ │ │ ├── CPUOperatorTest.cpp │ │ │ ├── CPUQuantizationTest.cpp │ │ │ ├── CPURecommendationSystemTest.cpp │ │ │ └── CPUTraceEventsTest.cpp │ ├── DeviceManagers.cpp │ ├── Habana │ │ ├── CMakeLists.txt │ │ ├── ClassGen │ │ │ ├── CMakeLists.txt │ │ │ ├── HabanaSpecificNodes.h │ │ │ └── HabanaSpecificNodesVerification.h │ │ ├── Habana.cpp │ │ ├── Habana.h │ │ ├── HabanaDeviceManager.cpp │ │ ├── HabanaDeviceManager.h │ │ ├── HabanaFactory.cpp │ │ ├── HabanaFunction.cpp │ │ ├── HabanaFunction.h │ │ ├── HabanaUtils.cpp │ │ ├── HabanaUtils.h │ │ ├── ONNX │ │ │ └── HabanaONNXModelWriter.cpp │ │ └── tests │ │ │ ├── HabanaBackendCorrectnessTest.cpp │ │ │ ├── HabanaBackendTest.cpp │ │ │ ├── HabanaDeferredWeightLoaderTest.cpp │ │ │ ├── HabanaDeviceManagerTest.cpp │ │ │ ├── HabanaGradCheckTest.cpp │ │ │ ├── HabanaGraphOptzTest.cpp │ │ │ ├── HabanaHostManagerTest.cpp │ │ │ ├── HabanaMLTest.cpp │ │ │ ├── HabanaOperatorGradTest.cpp │ │ │ ├── HabanaOperatorTest.cpp │ │ │ ├── HabanaQuantizationTest.cpp │ │ │ ├── HabanaRecommendationSystemTest.cpp │ │ │ └── HabanaTraceEventsTest.cpp │ ├── Interpreter │ │ ├── CMakeLists.txt │ │ ├── Interpreter.cpp │ │ ├── InterpreterDeviceManager.cpp │ │ ├── InterpreterFactory.cpp │ │ ├── InterpreterFunction.cpp │ │ ├── InterpreterNodes.cpp │ │ └── tests │ │ │ ├── InterpreterBackendCorrectnessTest.cpp │ │ │ ├── InterpreterBackendTest.cpp │ │ │ ├── InterpreterDeferredWeightLoaderTest.cpp │ │ │ ├── InterpreterDeviceManagerTest.cpp │ │ │ ├── InterpreterGradCheckTest.cpp │ │ │ ├── InterpreterGraphOptzTest.cpp │ │ │ ├── InterpreterHostManagerTest.cpp │ │ │ ├── InterpreterMLTest.cpp │ │ │ ├── InterpreterOperatorGradTest.cpp │ │ │ ├── InterpreterOperatorTest.cpp │ │ │ ├── InterpreterParameterSweepTest.cpp │ │ │ ├── InterpreterQuantizationTest.cpp │ │ │ ├── InterpreterRecommendationSystemTest.cpp │ │ │ ├── InterpreterTensorLayoutTest.cpp │ │ │ └── InterpreterTraceEventsTest.cpp │ ├── NNPI │ │ ├── BlockStream.cpp │ │ ├── BlockStream.h │ │ ├── CMakeLists.txt │ │ ├── ClassGen │ │ │ ├── CMakeLists.txt │ │ │ ├── NNPISpecificNodes.h │ │ │ ├── NNPISpecificNodesVerification.h │ │ │ └── NNPISpecificTypes.h │ │ ├── CustomKernels │ │ │ ├── CustomKernelInjector.h │ │ │ ├── DSPInjectors │ │ │ │ ├── CmpInt32Injector.cpp │ │ │ │ ├── DSPInjectorUtils.cpp │ │ │ │ ├── DSPInjectorUtils.h │ │ │ │ ├── DSPInjectors.cpp │ │ │ │ ├── DSPInjectors.h │ │ │ │ └── ReluInjector.cpp │ │ │ ├── GetNNPIKernels.cpp │ │ │ ├── GetNNPIKernels.h │ │ │ └── IAInjectors │ │ │ │ ├── IAInjectors.cpp │ │ │ │ └── IAInjectors.h │ │ ├── DebugMacros.h │ │ ├── Importer.cpp │ │ ├── Importer.h │ │ ├── InferenceContext.cpp │ │ ├── InferenceContext.h │ │ ├── InferencePool.cpp │ │ ├── InferencePool.h │ │ ├── NNPI.cpp │ │ ├── NNPI.h │ │ ├── NNPIAdapterContainer.cpp │ │ ├── NNPIAdapterContainer.h │ │ ├── NNPICompiledFunction.cpp │ │ ├── NNPICompiledFunction.h │ │ ├── NNPIDeviceManager.cpp │ │ ├── NNPIDeviceManager.h │ │ ├── NNPIFactory.cpp │ │ ├── NNPIMLTraceWrapper.cpp │ │ ├── NNPIMLTraceWrapper.h │ │ ├── NNPIOptions.cpp │ │ ├── NNPIOptions.h │ │ ├── NNPIResource.cpp │ │ ├── NNPIResource.h │ │ ├── NNPITracing.cpp │ │ ├── NNPITracing.h │ │ ├── NNPIUtils.cpp │ │ ├── NNPIUtils.h │ │ ├── NNPIUtils_AVX512.cpp │ │ ├── ONNX │ │ │ └── NNPIONNXModelWriter.cpp │ │ ├── SpecializedLookupTables.cpp │ │ └── tests │ │ │ ├── NNPIBackendCorrectnessTest.cpp │ │ │ ├── NNPIBackendTest.cpp │ │ │ ├── NNPIDeferredWeightLoaderTest.cpp │ │ │ ├── NNPIDeviceManagerTest.cpp │ │ │ ├── NNPIGradCheckTest.cpp │ │ │ ├── NNPIGraphOptzTest.cpp │ │ │ ├── NNPIHostManagerTest.cpp │ │ │ ├── NNPIMLTest.cpp │ │ │ ├── NNPINumericsTest.cpp │ │ │ ├── NNPIOperatorGradTest.cpp │ │ │ ├── NNPIOperatorTest.cpp │ │ │ ├── NNPIParameterSweepTest.cpp │ │ │ ├── NNPIQuantizationTest.cpp │ │ │ ├── NNPIRecommendationSystemTest.cpp │ │ │ ├── NNPISparseLengthsSumTest.cpp │ │ │ ├── NNPITraceEventsTest.cpp │ │ │ └── TestBlacklist.h │ └── OpenCL │ │ ├── CMakeLists.txt │ │ ├── ClassGen │ │ ├── CMakeLists.txt │ │ ├── OpenCLSpecificInstrs.h │ │ ├── OpenCLSpecificInstrsVerification.h │ │ ├── OpenCLSpecificNodes.h │ │ └── OpenCLSpecificNodesVerification.h │ │ ├── ONNX │ │ └── OpenCLONNXModelWriter.cpp │ │ ├── OpenCL.cpp │ │ ├── OpenCL.h │ │ ├── OpenCLDeviceManager.cpp │ │ ├── OpenCLDeviceManager.h │ │ ├── OpenCLFactory.cpp │ │ ├── OpenCLTensorLayout.cpp │ │ ├── OpenCLTensorLayout.h │ │ ├── Transforms.cpp │ │ ├── kernels.cl │ │ ├── kernels_fwd_conv.cl │ │ ├── kernels_fwd_quantized_conv.cl │ │ ├── kernels_specialized_no_local_mem_conv.cl │ │ └── tests │ │ ├── OpenCLBackendCorrectnessTest.cpp │ │ ├── OpenCLBackendTest.cpp │ │ ├── OpenCLDeferredWeightLoaderTest.cpp │ │ ├── OpenCLDeviceManagerTest.cpp │ │ ├── OpenCLDiskCacheTest.cmake │ │ ├── OpenCLGradCheckTest.cpp │ │ ├── OpenCLGraphOptzTest.cpp │ │ ├── OpenCLHostManagerTest.cpp │ │ ├── OpenCLMLTest.cpp │ │ ├── OpenCLOperatorGradTest.cpp │ │ ├── OpenCLOperatorTest.cpp │ │ ├── OpenCLQuantizationTest.cpp │ │ ├── OpenCLRecommendationSystemTest.cpp │ │ ├── OpenCLTensorLayoutTest.cpp │ │ └── OpenCLTraceEventsTest.cpp ├── Base │ ├── CMakeLists.txt │ ├── IO.cpp │ ├── Image.cpp │ ├── NumpyReader.cpp │ ├── TaggedList.cpp │ ├── Tensor.cpp │ ├── TensorSerialization.cpp │ └── Type.cpp ├── CMakeLists.txt ├── CodeGen │ ├── CMakeLists.txt │ └── MemoryAllocator.cpp ├── Converter │ ├── CMakeLists.txt │ ├── Float16Converter.cpp │ ├── FunctionConverter.cpp │ ├── FusedRowwiseConverter.cpp │ └── TypeAToTypeBFunctionConverter.cpp ├── ExecutionContext │ ├── CMakeLists.txt │ └── TraceEvents.cpp ├── ExecutionEngine │ ├── CMakeLists.txt │ └── ExecutionEngine.cpp ├── Exporter │ ├── CMakeLists.txt │ ├── ONNXModelWriter.cpp │ └── ProtobufWriter.cpp ├── Flags │ ├── CMakeLists.txt │ └── Flags.cpp ├── Graph │ ├── CMakeLists.txt │ ├── FXIRUtils.cpp │ ├── FXIRWrapper.cpp │ ├── Grad.cpp │ ├── Graph.cpp │ ├── Hook.cpp │ ├── Log.cpp │ ├── Node.cpp │ ├── NodeValue.cpp │ ├── Nodes.cpp │ ├── PlaceholderBindings.cpp │ ├── TensorLayout.cpp │ └── VerifierHelper.cpp ├── IR │ ├── CMakeLists.txt │ ├── ChildMemSizeBasedScheduler.cpp │ ├── GraphScheduler.cpp │ ├── GraphScheduler.h │ ├── IR.cpp │ ├── IRBuilder.cpp │ ├── IRGen.cpp │ ├── IRUtils.cpp │ ├── Instrs.cpp │ └── TopologicalSortBasedScheduler.cpp ├── Importer │ ├── CMakeLists.txt │ ├── Caffe2ModelLoader.cpp │ ├── ONNXIFIModelLoader.cpp │ ├── ONNXModelLoader.cpp │ ├── ProtobufLoader.cpp │ ├── TFLiteModelLoader.cpp │ └── caffe2.proto ├── LLVMIRCodeGen │ ├── AllocationsInfo.cpp │ ├── BundleSaver.cpp │ ├── CMakeLists.txt │ ├── CommandLine.cpp │ ├── DebugInfo.cpp │ ├── DebugInstrumentation.cpp │ ├── FunctionSpecializer.cpp │ ├── GlowJIT.cpp │ ├── JITFilePrinter.cpp │ ├── LLVMBackend.cpp │ ├── LLVMCompiledFunction.cpp │ ├── LLVMIRGen.cpp │ ├── Pipeline.cpp │ └── libjit │ │ ├── libjit.cpp │ │ ├── libjit_conv.cpp │ │ ├── libjit_defs.h │ │ ├── libjit_dim_t.h │ │ └── libjit_matmul.cpp ├── Onnxifi │ ├── Base.cpp │ ├── Base.h │ ├── CMakeLists.txt │ ├── GlowOnnxifiManager.cpp │ ├── GlowOnnxifiManager.h │ ├── HostManagerOnnxifi.cpp │ ├── HostManagerOnnxifi.h │ ├── InlineOnnxifi.cpp │ ├── InlineOnnxifi.h │ └── onnxifiGlow.cpp ├── Optimizer │ ├── CMakeLists.txt │ ├── GraphOptimizer │ │ ├── CMakeLists.txt │ │ ├── ConstantFolding.cpp │ │ ├── FunctionPassManager.cpp │ │ ├── GraphOptimizer.cpp │ │ ├── Lower.cpp │ │ ├── NodeSplitting.cpp │ │ ├── Quantization.cpp │ │ └── TrainingPreparation.cpp │ ├── GraphOptimizerPipeline │ │ ├── CMakeLists.txt │ │ └── FunctionPassPipeline.cpp │ ├── IROptimizer │ │ ├── CMakeLists.txt │ │ ├── IRFunctionPassManager.cpp │ │ ├── IRInstrumentation.cpp │ │ └── IROptimizer.cpp │ ├── IROptimizerPipeline │ │ ├── CMakeLists.txt │ │ ├── CommandLine.cpp │ │ └── IRFunctionPassPipeline.cpp │ └── Lower │ │ ├── CMakeLists.txt │ │ └── Lower.cpp ├── Partitioner │ ├── CMakeLists.txt │ ├── Partitioner.cpp │ ├── PartitionerBase.cpp │ ├── PartitionerOptimizer.cpp │ ├── PartitionerUtils.cpp │ └── PartitionerValidation.cpp ├── PassManager │ ├── CMakeLists.txt │ ├── PassConfig.cpp │ ├── PassManager.cpp │ └── PassPipeline.cpp ├── Quantization │ ├── Base │ │ ├── Base.cpp │ │ ├── CMakeLists.txt │ │ ├── Calibration.cpp │ │ └── Profile.cpp │ ├── CMakeLists.txt │ ├── Quantization.cpp │ └── Serialization.cpp ├── Runtime │ ├── CMakeLists.txt │ ├── DeferredWeightLoader.cpp │ ├── DeviceHealthMonitor.cpp │ ├── ErrorReporter.cpp │ ├── Executor │ │ ├── CMakeLists.txt │ │ ├── NetworkExecutionState.cpp │ │ └── ThreadPoolExecutor.cpp │ ├── HostManager │ │ ├── CMakeLists.txt │ │ └── HostManager.cpp │ ├── InputSanitizer.cpp │ ├── Provisioner │ │ ├── CMakeLists.txt │ │ └── Provisioner.cpp │ ├── StatsExporter.cpp │ └── TraceExporter.cpp └── Support │ ├── CMakeLists.txt │ ├── Debug.cpp │ ├── Error.cpp │ ├── Random.cpp │ ├── Support.cpp │ ├── TensorPool │ ├── CMakeLists.txt │ └── TensorPool.cpp │ ├── ThreadPool.cpp │ └── ZipUtils.cpp ├── tests ├── CMakeLists.txt ├── Testing │ ├── CMakeLists.txt │ └── StrCheck.cpp ├── benchmark │ ├── AddBench.cpp │ ├── BERTProxyLayerBench.cpp │ ├── BatchGemmBench.cpp │ ├── Bench.h │ ├── CMakeLists.txt │ ├── CommonSLSEB.h │ ├── ConcatBench.cpp │ ├── ConvBench.cpp │ ├── ConvUtils.h │ ├── EmbeddingBagBench.cpp │ ├── GatherBench.cpp │ ├── GemmBench.cpp │ ├── GemmParallelBench.cpp │ ├── Int8AvgPool2dParallelBench.cpp │ ├── Int8Conv2dParallelBench.cpp │ ├── Int8Conv3dParallelBench.cpp │ ├── Int8GemmBench.cpp │ ├── Int8GemmBench.h │ ├── Int8GemmParallelBench.cpp │ ├── ResNetBench.cpp │ ├── RuntimeBench.cpp │ ├── SLSBench.cpp │ ├── TBEBench.cpp │ └── TransposeBench.cpp ├── examples_tests │ └── resnet-runtime-test.sh ├── images │ ├── CMakeLists.txt │ ├── EmotionSampleImages │ │ ├── README │ │ ├── angry_baby.png │ │ ├── angry_man.png │ │ ├── fear.png │ │ ├── happy.png │ │ ├── neutral.png │ │ ├── neutral_girl.png │ │ ├── sad_baby.png │ │ ├── sad_baby2.png │ │ ├── surprised_boy.png │ │ └── surprised_woman.png │ ├── imagenet │ │ ├── cat_285.png │ │ ├── dog_207.png │ │ └── zebra_340.png │ ├── imagenet_299 │ │ ├── cat_281_299.png │ │ ├── dog_207_299.png │ │ └── zebra_340_299.png │ ├── mnist │ │ ├── 0_1009.png │ │ ├── 1_1008.png │ │ ├── 2_1065.png │ │ ├── 3_1020.png │ │ ├── 4_1059.png │ │ ├── 5_1087.png │ │ ├── 6_1099.png │ │ ├── 7_1055.png │ │ ├── 8_1026.png │ │ └── 9_1088.png │ ├── npy │ │ ├── cat_285_i8_224.npy │ │ ├── cat_285_u8_224.npy │ │ ├── input1List_3D.txt │ │ ├── input1List_3D_f32.txt │ │ ├── input1List_3D_f32_2.txt │ │ ├── input1List_3D_i16.txt │ │ ├── input1List_3D_u16.txt │ │ ├── input1List_4D.txt │ │ ├── input2List_3D.txt │ │ ├── input2List_3D_2.txt │ │ ├── input2List_3D_f32.txt │ │ ├── input2List_3D_f32_2.txt │ │ ├── input2List_3D_i16.txt │ │ ├── input2List_3D_u16.txt │ │ ├── input2List_4D.txt │ │ ├── tensor10_i64.npy │ │ ├── tensor16_i16.npy │ │ ├── tensor16_u16.npy │ │ ├── tensor1x2x3x8_u8.npy │ │ ├── tensor1x4x2x2_u8.npy │ │ ├── tensor1x4x2x2x3_f32.npy │ │ ├── tensor2x3x8_u8.npy │ │ ├── tensor3x16_u8.npy │ │ ├── tensor3x4x2_i8.npy │ │ ├── tensor3x4x2_u32.npy │ │ ├── tensor3x4x2_u8.npy │ │ ├── tensor3x4x2x2_i8.npy │ │ ├── tensor3x4x2x2_u16.npy │ │ ├── tensor3x4x2x2_u8.npy │ │ ├── tensor48_i8.npy │ │ ├── tensor48_u8.npy │ │ ├── tensor_1x2x4_f32.npy │ │ ├── tensor_1x2x4_f32_2.npy │ │ ├── tensor_1x2x4_i16.npy │ │ ├── tensor_1x2x4_i16_2.npy │ │ ├── tensor_1x2x4_u16.npy │ │ ├── tensor_1x2x4_u8.npy │ │ ├── tensor_1x2x4x4_u8.npy │ │ └── tensor_2x4x4_u8.npy │ ├── other │ │ ├── corrupt_dog.png │ │ ├── tensor_2x4x3.png │ │ └── vga_image.png │ ├── ppm │ │ └── cat_285.ppm │ └── run.sh ├── models │ ├── CMakeLists.txt │ ├── caffe2Models │ │ ├── 4bit_fused_rowwise_quantized_sparse_lengths_sum_init_net.pbtxt │ │ ├── 4bit_fused_rowwise_quantized_sparse_lengths_sum_predict_net.pbtxt │ │ ├── NCHW2NHWC_predict_net.pbtxt │ │ ├── alias_op_net.pbtxt │ │ ├── argmin.pbtxt │ │ ├── avgpool_nhwc_predict_net.pbtxt │ │ ├── avgpool_predict_net.pbtxt │ │ ├── batch_box_cox_predict_net.pbtxt │ │ ├── batch_sparse_to_dense_last_dim_1.pbtxt │ │ ├── batched_matmul.pbtxt │ │ ├── bucketize_op_net.pbtxt │ │ ├── cast_int64_to_int64.pbtxt │ │ ├── clip_op_default_net.pbtxt │ │ ├── clip_op_net.pbtxt │ │ ├── concat_add_axis_at_edge.pbtxt │ │ ├── concat_add_axis_predict_net.pbtxt │ │ ├── concat_predict_net.pbtxt │ │ ├── constant_fill_input_as_shape.pbtxt │ │ ├── constant_fill_input_as_shape_init.pbtxt │ │ ├── constant_fill_use_input_shape.pbtxt │ │ ├── constant_fill_use_provided_shape.pbtxt │ │ ├── conv_group_quantized_init_net.pbtxt │ │ ├── conv_group_quantized_pred_net.pbtxt │ │ ├── conv_nhwc_init_net.pbtxt │ │ ├── conv_nhwc_predict_net.pbtxt │ │ ├── convrelu_init_net.pbtxt │ │ ├── convrelu_pred_net.pbtxt │ │ ├── convtranspose.pbtxt │ │ ├── convtranspose_init.pbtxt │ │ ├── convtranspose_net.pbtxt │ │ ├── convtranspose_nhwc.pbtxt │ │ ├── convtranspose_nhwc_init.pbtxt │ │ ├── convtranspose_pads.pbtxt │ │ ├── dce_test_init_net.pbtxt │ │ ├── dce_test_predict_net.pbtxt │ │ ├── dot_product_predict_net.pbtxt │ │ ├── dropout.pbtxt │ │ ├── dynamic_quantized_fc_init.pbtxt │ │ ├── dynamic_quantized_fc_predict_net.pbtxt │ │ ├── elementwise_linear_broadcast_net.pbtxt │ │ ├── elementwise_linear_default_net.pbtxt │ │ ├── elementwise_linear_net.pbtxt │ │ ├── empty_init_net.pbtxt │ │ ├── empty_predict_net.pbtxt │ │ ├── eq_op_net.pbtxt │ │ ├── exp_op_net.pbtxt │ │ ├── fbfcpacked_3d_second_axis_init.pbtxt │ │ ├── fbfcpacked_3d_second_axis_predict.pbtxt │ │ ├── fbfcpacked_4d_first_axis_init_net.pbtxt │ │ ├── fbfcpacked_4d_first_axis_predict_net.pbtxt │ │ ├── fcTransposed_4d_init_net.pbtxt │ │ ├── fcTransposed_4d_predict_net.pbtxt │ │ ├── fcTransposed_init_net.pbtxt │ │ ├── fcTransposed_predict_net.pbtxt │ │ ├── fc_3d_second_axis_init.pbtxt │ │ ├── fc_3d_second_axis_predict.pbtxt │ │ ├── fc_4d_first_axis_init_net.pbtxt │ │ ├── fc_4d_first_axis_predict_net.pbtxt │ │ ├── fc_4d_init_net.pbtxt │ │ ├── fc_4d_predict_net.pbtxt │ │ ├── fc_init_net.pbtxt │ │ ├── fc_predict_net.pbtxt │ │ ├── fill_examples_with_indicator.pbtxt │ │ ├── fill_test_init_net.pbtxt │ │ ├── fill_test_predict_net.pbtxt │ │ ├── fused_rowwise_quantized_sparse_lengths_sum_init_net.pbtxt │ │ ├── fused_rowwise_quantized_sparse_lengths_sum_predict_net.pbtxt │ │ ├── fused_rowwise_quantized_sparse_lengths_sum_predict_net_length1.pbtxt │ │ ├── fused_rowwise_quantized_sparse_lengths_weighted_sum_avg_length_predict_net.pbtxt │ │ ├── fused_rowwise_quantized_sparse_lengths_weighted_sum_init_net.pbtxt │ │ ├── fused_rowwise_quantized_sparse_lengths_weighted_sum_predict_net.pbtxt │ │ ├── gather_const_fold.pbtxt │ │ ├── gather_const_fold_init.pbtxt │ │ ├── gather_ranges.pbtxt │ │ ├── gaussian_fill_input_as_shape.pbtxt │ │ ├── gaussian_fill_input_as_shape_init.pbtxt │ │ ├── gaussian_fill_use_input_shape.pbtxt │ │ ├── gaussian_fill_use_input_shape_with_extra_shape.pbtxt │ │ ├── gaussian_fill_use_provided_shape.pbtxt │ │ ├── gelu.pbtxt │ │ ├── halftofloat_op_net.pbtxt │ │ ├── init_net.pbtxt │ │ ├── int8convrelu_init_net.pbtxt │ │ ├── int8convrelu_pred_net.pbtxt │ │ ├── int8fc_3d_second_axis_init.pbtxt │ │ ├── int8fc_3d_second_axis_predict.pbtxt │ │ ├── int8fc_4d_first_axis_init_net.pbtxt │ │ ├── int8fc_4d_first_axis_predict_net.pbtxt │ │ ├── int8sumrelu_init_net.pbtxt │ │ ├── int8sumrelu_large_range_init_net.pbtxt │ │ ├── int8sumrelu_large_range_pred_net.pbtxt │ │ ├── int8sumrelu_pred_net.pbtxt │ │ ├── int8sumrelu_tiny_scale_init_net.pbtxt │ │ ├── int8sumrelu_tiny_scale_pred_net.pbtxt │ │ ├── layernorm_neg_axis_pred_net.pbtxt │ │ ├── layernorm_pred_net.pbtxt │ │ ├── layernorm_weight_bias_init_net.pbtxt │ │ ├── layernorm_weight_bias_pred_net.pbtxt │ │ ├── lengths_range_fill_predict_net.pbtxt │ │ ├── lengths_sum.pbtxt │ │ ├── lengths_to_ranges.pbtxt │ │ ├── lengths_to_ranges_init_net.pbtxt │ │ ├── log1p.pbtxt │ │ ├── logit_op_net.pbtxt │ │ ├── lpnorm_p1.pbtxt │ │ ├── lpnorm_p2.pbtxt │ │ ├── matmul_trans_RHS_predict_net.pbtxt │ │ ├── maxpool_legacy_padding_predict_net.pbtxt │ │ ├── maxpool_nhwc_predict_net.pbtxt │ │ ├── maxpool_predict_net.pbtxt │ │ ├── mean_3inputs.pbtxt │ │ ├── modulo_op_net.pbtxt │ │ ├── multiple_inputs_graph.pbtxt │ │ ├── negative.pbtxt │ │ ├── parallel_matmul_predict_net.pbtxt │ │ ├── pre_partitioned_fill_test_predict_net.pbtxt │ │ ├── pre_partitioned_multi_op_predict_net.pbtxt │ │ ├── predict_net.pbtxt │ │ ├── prelu.pbtxt │ │ ├── reduce_back_sum.pbtxt │ │ ├── reducebackmean.pbtxt │ │ ├── replace_nan_predict_net.pbtxt │ │ ├── resize_nearest_op_net.pbtxt │ │ ├── rmsnorm.pbtxt │ │ ├── rowwise_quantized_sparse_lengths_sum_init_net.pbtxt │ │ ├── rowwise_quantized_sparse_lengths_sum_predict_net.pbtxt │ │ ├── rowwise_quantized_sparse_lengths_weighted_sum_init_net.pbtxt │ │ ├── rowwise_quantized_sparse_lengths_weighted_sum_predict_net.pbtxt │ │ ├── scale.pbtxt │ │ ├── sigmoid.pbtxt │ │ ├── sign.pbtxt │ │ ├── softplus.pbtxt │ │ ├── sparse_to_dense.pbtxt │ │ ├── sparse_to_dense_mask_op_net.pbtxt │ │ ├── sparselabelsplit.pbtxt │ │ ├── sqr_predict_net.pbtxt │ │ ├── swish_op_net.pbtxt │ │ ├── topk_k2.pbtxt │ │ ├── uniform_fill_input_as_shape.pbtxt │ │ └── uniform_fill_use_input_shape.pbtxt │ ├── onnxModels │ │ ├── Acos.onnxtxt │ │ ├── ArgMaxDefault.onnxtxt │ │ ├── ArgMaxKeepDim.onnxtxt │ │ ├── ArgMaxNoKeepDim.onnxtxt │ │ ├── ArgMinDefault.onnxtxt │ │ ├── ArgMinKeepDim.onnxtxt │ │ ├── ArgMinNoKeepDim.onnxtxt │ │ ├── Asin.onnxtxt │ │ ├── Atan.onnxtxt │ │ ├── CmpLTE.onnxtxt │ │ ├── Cos.onnxtxt │ │ ├── Equal.onnxtxt │ │ ├── Erf.onnxtxt │ │ ├── FCTransposed.onnxtxt │ │ ├── IntermediateOutput.onnxtxt │ │ ├── Less.onnxtxt │ │ ├── MatMul4D.onnxtxt │ │ ├── Mean.onnxtxt │ │ ├── Mean_broadcast.onnxtxt │ │ ├── NonMaxSuppression.onnxtxt │ │ ├── NonMaxSuppressionOptionalParams.onnxtxt │ │ ├── NonMaxSuppressionSSD.onnxtxt │ │ ├── NonMaxSuppressionSSD_ONNX.onnxtxt │ │ ├── NonZero.onnxtxt │ │ ├── QuantizeLinearDequantizeLinear.onnxtxt │ │ ├── ROIAlign_onnx.onnxtxt │ │ ├── RangeFloat.onnxtxt │ │ ├── RangeInt32.onnxtxt │ │ ├── ReduceL2KeepDims.onnxtxt │ │ ├── ReduceL2NegAxis.onnxtxt │ │ ├── ReduceL2NoAxis.onnxtxt │ │ ├── ReduceL2NoKeepDims.onnxtxt │ │ ├── Sin.onnxtxt │ │ ├── TopK.onnxtxt │ │ ├── UniBroadcastIssue2135.onnxtxt │ │ ├── Where.onnxtxt │ │ ├── abs.onnxtxt │ │ ├── addMultiBroadcastOp7.onnxtxt │ │ ├── addUniBroadcastOp6Axis.onnxtxt │ │ ├── addUniBroadcastOp6NoAxis.onnxtxt │ │ ├── add_2inputs_3D.onnx │ │ ├── add_2inputs_4D.onnx │ │ ├── audioSpectrogramNonSquared.onnxtxt │ │ ├── audioSpectrogramOneWindow.onnxtxt │ │ ├── audioSpectrogramTwoWindow.onnxtxt │ │ ├── averagePool2DAutoPadSameLower.onnxtxt │ │ ├── averagePool2DAutoPadSameUpper.onnxtxt │ │ ├── averagePool2DAutoPadValid.onnxtxt │ │ ├── averagePool2DCountExcludePads.onnxtxt │ │ ├── averagePool3D.onnxtxt │ │ ├── batchBoxCox.onnxtxt │ │ ├── batchNormPR2304.onnxtxt │ │ ├── batch_matmul.onnxtxt │ │ ├── bool_from_int.onnxtxt │ │ ├── castInt-32-64.onnxtxt │ │ ├── castToBool.onnxtxt │ │ ├── castToFloat.onnxtxt │ │ ├── castToFloat16.onnxtxt │ │ ├── castToInt32.onnxtxt │ │ ├── castToInt64.onnxtxt │ │ ├── ceil.onnxtxt │ │ ├── clip.onnxtxt │ │ ├── clip_default.onnxtxt │ │ ├── clipv11.onnxtxt │ │ ├── constRelu.onnxtxt │ │ ├── constant.onnxtxt │ │ ├── constantOfShape.onnxtxt │ │ ├── constantOfShapeInt32.onnxtxt │ │ ├── constantOfShapeInt32Fail.onnxtxt │ │ ├── constantOfShapeInt64.onnxtxt │ │ ├── constantOfShapeInt64Fail.onnxtxt │ │ ├── conv1D.onnxtxt │ │ ├── convPadNotset.onnxtxt │ │ ├── convTransposeAsymmetric.onnxtxt │ │ ├── convTransposeGroup.onnxtxt │ │ ├── cumsum.onnxtxt │ │ ├── depthToSpace.onnxtxt │ │ ├── depthToSpace_crd.onnxtxt │ │ ├── dim32 │ │ │ └── sparseToDense.onnxtxt │ │ ├── dimParam.onnxtxt │ │ ├── divMultiBroadcastOp7.onnxtxt │ │ ├── divUniBroadcastOp6Axis.onnxtxt │ │ ├── divUniBroadcastOp6NoAxis.onnxtxt │ │ ├── dot_product.onnxtxt │ │ ├── exp.onnxtxt │ │ ├── expandDims.onnxtxt │ │ ├── expandnodeDiffShape.onnxtxt │ │ ├── expandnodeSameShape.onnxtxt │ │ ├── flipNoAxis.onnxtxt │ │ ├── flipWithAxis.onnxtxt │ │ ├── floor.onnxtxt │ │ ├── fp16FullyConnected.onnxtxt │ │ ├── fusedSLWS.onnxtxt │ │ ├── gather.onnxtxt │ │ ├── gatherConstantFolding.onnxtxt │ │ ├── gatherND.onnxtxt │ │ ├── gatherranges.onnxtxt │ │ ├── gemmBatchedC.onnxtxt │ │ ├── gemmNoC.onnxtxt │ │ ├── gemmSingleC.onnxtxt │ │ ├── gemmTransA.onnxtxt │ │ ├── gemmTransB.onnxtxt │ │ ├── getInputsOnnxDefineSample.onnxtxt │ │ ├── glow_custom_dag_multi_op.onnxtxt │ │ ├── glow_custom_op_channelwise_quantized_group_conv.onnxtxt │ │ ├── glow_custom_op_node_opts.onnxtxt │ │ ├── glow_custom_op_topk_quantized.onnxtxt │ │ ├── glow_custom_with_strides.onnxtxt │ │ ├── gruBidirectional.onnxtxt │ │ ├── gruForward.onnxtxt │ │ ├── gruForwardLinearBeforeReset.onnxtxt │ │ ├── gruForwardNoBias.onnxtxt │ │ ├── gruForwardNoState.onnxtxt │ │ ├── gruReverse.onnxtxt │ │ ├── hardsigmoid.onnxtxt │ │ ├── if_false.onnxtxt │ │ ├── if_true.onnxtxt │ │ ├── instNorm.onnxtxt │ │ ├── leakyRelu.onnxtxt │ │ ├── leakyReluDefault.onnxtxt │ │ ├── legalizeNames.onnxtxt │ │ ├── lengths_sum.onnxtxt │ │ ├── lengths_to_ranges.onnxtxt │ │ ├── log.onnxtxt │ │ ├── logicalAnd.onnxtxt │ │ ├── logicalAndBcast.onnxtxt │ │ ├── logicalNot.onnxtxt │ │ ├── logicalOr.onnxtxt │ │ ├── logicalOrBcast.onnxtxt │ │ ├── logicalXor.onnxtxt │ │ ├── logicalXorBcast.onnxtxt │ │ ├── logsoftmax.onnxtxt │ │ ├── loop_cond.onnxtxt │ │ ├── loop_empty_tripcount.onnxtxt │ │ ├── loop_emptycond.onnxtxt │ │ ├── loop_no_iteration.onnxtxt │ │ ├── loop_static.onnxtxt │ │ ├── loop_tripcount.onnxtxt │ │ ├── loop_withoutN.onnxtxt │ │ ├── lstmBidirectional.onnxtxt │ │ ├── lstmForward.onnxtxt │ │ ├── lstmForwardInputForget.onnxtxt │ │ ├── lstmForwardNoBias.onnxtxt │ │ ├── lstmForwardNoState.onnxtxt │ │ ├── lstmForwardWithPeephole.onnxtxt │ │ ├── lstmReverse.onnxtxt │ │ ├── matmul.onnxtxt │ │ ├── maxPool1D.onnxtxt │ │ ├── maxPoolWithArgmax.onnxtxt │ │ ├── mfccOneWindow.onnxtxt │ │ ├── mfccTwoWindow.onnxtxt │ │ ├── mscatterND.onnxtxt │ │ ├── mulMultiBroadcastOp7.onnxtxt │ │ ├── mulUniBroadcastOp6Axis.onnxtxt │ │ ├── mulUniBroadcastOp6NoAxis.onnxtxt │ │ ├── multipleInputsGraph.onnxtxt │ │ ├── neg.onnxtxt │ │ ├── padConstant.onnxtxt │ │ ├── padConstantInput.onnxtxt │ │ ├── padConstantPositive.onnxtxt │ │ ├── padDefault.onnxtxt │ │ ├── padDefaultInputPad.onnxtxt │ │ ├── padEdge.onnxtxt │ │ ├── padReflect.onnxtxt │ │ ├── powMultiBroadcastOp7.onnxtxt │ │ ├── pow_array_broadcast.onnxtxt │ │ ├── pow_element_wise.onnxtxt │ │ ├── pow_scalar_broadcast.onnxtxt │ │ ├── preluBroadcastSlope.onnxtxt │ │ ├── preluInvalidBroadcastSlope.onnxtxt │ │ ├── preluSlopeHasSameShape.onnxtxt │ │ ├── reduceMax.onnxtxt │ │ ├── reduceMaxDefaultAxis.onnxtxt │ │ ├── reduceMaxNoKeep.onnxtxt │ │ ├── reduceMean2AvgPool.onnxtxt │ │ ├── reduceMean2AvgPoolNoKeep.onnxtxt │ │ ├── reduceMean4Dto3D.onnxtxt │ │ ├── reduceMean4Dto4D.onnxtxt │ │ ├── reduceMin.onnxtxt │ │ ├── reduceMinDefaultAxis.onnxtxt │ │ ├── reduceMinNoKeep.onnxtxt │ │ ├── reduceProd.onnxtxt │ │ ├── reduceSum4D.onnxtxt │ │ ├── reduceSumSquare4D.onnxtxt │ │ ├── replaceNaN.onnxtxt │ │ ├── resizeBilinear.onnxtxt │ │ ├── resizeBilinearV11compat.onnxtxt │ │ ├── resizeBilinearV11compat_sizes.onnxtxt │ │ ├── resizeNearest.onnxtxt │ │ ├── resizeNearestV11compat.onnxtxt │ │ ├── resizeNearestV11compat_sizes.onnxtxt │ │ ├── rnnBidirectional.onnxtxt │ │ ├── rnnForward.onnxtxt │ │ ├── rnnForwardNoBias.onnxtxt │ │ ├── rnnForwardNoState.onnxtxt │ │ ├── rnnReverse.onnxtxt │ │ ├── scatterND.onnxtxt │ │ ├── shape.onnxtxt │ │ ├── sign.onnxtxt │ │ ├── simpleConv.onnxtxt │ │ ├── simpleConv3D.onnxtxt │ │ ├── simpleConv3DAutoPadSameLower.onnxtxt │ │ ├── simpleConv3DAutoPadSameUpper.onnxtxt │ │ ├── simpleConv3DAutoPadValid.onnxtxt │ │ ├── simpleConv3DNonCubicPads.onnxtxt │ │ ├── simpleConv3DNonSquareDilation.onnxtxt │ │ ├── simpleConvAutoPadSameLower.onnxtxt │ │ ├── simpleConvAutoPadSameUpper.onnxtxt │ │ ├── simpleConvAutoPadValid.onnxtxt │ │ ├── simpleConvBiasFail.onnxtxt │ │ ├── simpleConvNonSquareDilation.onnxtxt │ │ ├── simpleConvTranspose.onnxtxt │ │ ├── simpleConvTransposeAutoPadSameLower.onnxtxt │ │ ├── simpleConvTransposeAutoPadSameUpper.onnxtxt │ │ ├── simpleConvTransposeAutoPadValid.onnxtxt │ │ ├── simpleConvTransposeOutShape.onnxtxt │ │ ├── simpleConvTransposeOutShapeDilation.onnxtxt │ │ ├── simpleConvTransposeOutShapeSameLower.onnxtxt │ │ ├── simpleConvTransposeOutShapeSameUpper.onnxtxt │ │ ├── simpleConvTransposePads.onnxtxt │ │ ├── sliceAxesAnyOrder.onnxtxt │ │ ├── sliceAxesFull.onnxtxt │ │ ├── sliceAxesOverwrite.onnxtxt │ │ ├── sliceAxesPartial.onnxtxt │ │ ├── sliceDynamic.onnxtxt │ │ ├── sliceInvalidAxes.onnxtxt │ │ ├── sliceNoAxes.onnxtxt │ │ ├── sliceWithStep.onnxtxt │ │ ├── sliceWithUnsupportedStep.onnxtxt │ │ ├── softmax11.onnxtxt │ │ ├── softmax13.onnxtxt │ │ ├── spaceToDepth.onnxtxt │ │ ├── sparseLengthsSum.onnxtxt │ │ ├── sparseToDense.onnxtxt │ │ ├── subMultiBroadcastOp7.onnxtxt │ │ ├── subUniBroadcastOp6Axis.onnxtxt │ │ ├── subUniBroadcastOp6NoAxis.onnxtxt │ │ ├── sum1.onnxtxt │ │ ├── sumN.onnxtxt │ │ ├── tile.onnxtxt │ │ ├── transpose_null_perm.onnxtxt │ │ ├── upsampleOpset7.onnxtxt │ │ └── upsampleOpset9.onnxtxt │ ├── pytorchModels │ │ └── resnet18.pt │ └── tfliteModels │ │ ├── abs.inp0 │ │ ├── abs.out0 │ │ ├── abs.tflite │ │ ├── add.inp0 │ │ ├── add.inp1 │ │ ├── add.out0 │ │ ├── add.tflite │ │ ├── add_broadcast.inp0 │ │ ├── add_broadcast.inp1 │ │ ├── add_broadcast.out0 │ │ ├── add_broadcast.tflite │ │ ├── arg_max.inp0 │ │ ├── arg_max.out0 │ │ ├── arg_max.tflite │ │ ├── arg_min.inp0 │ │ ├── arg_min.out0 │ │ ├── arg_min.tflite │ │ ├── avgpool2d_same.inp0 │ │ ├── avgpool2d_same.out0 │ │ ├── avgpool2d_same.tflite │ │ ├── avgpool2d_valid.inp0 │ │ ├── avgpool2d_valid.out0 │ │ ├── avgpool2d_valid.tflite │ │ ├── batchToSpaceNd.inp0 │ │ ├── batchToSpaceNd.out0 │ │ ├── batchToSpaceNd.tflite │ │ ├── cast_f32_to_int32.inp0 │ │ ├── cast_f32_to_int32.out0 │ │ ├── cast_f32_to_int32.tflite │ │ ├── ceil.inp0 │ │ ├── ceil.out0 │ │ ├── ceil.tflite │ │ ├── concat.inp0 │ │ ├── concat.inp1 │ │ ├── concat.out0 │ │ ├── concat.tflite │ │ ├── concat_neg_axis.inp0 │ │ ├── concat_neg_axis.inp1 │ │ ├── concat_neg_axis.out0 │ │ ├── concat_neg_axis.tflite │ │ ├── conv2d_relu.inp0 │ │ ├── conv2d_relu.out0 │ │ ├── conv2d_relu.tflite │ │ ├── conv2d_same.inp0 │ │ ├── conv2d_same.out0 │ │ ├── conv2d_same.tflite │ │ ├── conv2d_valid.inp0 │ │ ├── conv2d_valid.out0 │ │ ├── conv2d_valid.tflite │ │ ├── cos.inp0 │ │ ├── cos.out0 │ │ ├── cos.tflite │ │ ├── depth_to_space.inp0 │ │ ├── depth_to_space.out0 │ │ ├── depth_to_space.tflite │ │ ├── depthwise_conv2d_c1_m1.inp0 │ │ ├── depthwise_conv2d_c1_m1.out0 │ │ ├── depthwise_conv2d_c1_m1.tflite │ │ ├── depthwise_conv2d_c1_m2.inp0 │ │ ├── depthwise_conv2d_c1_m2.out0 │ │ ├── depthwise_conv2d_c1_m2.tflite │ │ ├── depthwise_conv2d_c2_m1.inp0 │ │ ├── depthwise_conv2d_c2_m1.out0 │ │ ├── depthwise_conv2d_c2_m1.tflite │ │ ├── depthwise_conv2d_c2_m2.inp0 │ │ ├── depthwise_conv2d_c2_m2.out0 │ │ ├── depthwise_conv2d_c2_m2.tflite │ │ ├── div.inp0 │ │ ├── div.inp1 │ │ ├── div.out0 │ │ ├── div.tflite │ │ ├── div_broadcast.inp0 │ │ ├── div_broadcast.inp1 │ │ ├── div_broadcast.out0 │ │ ├── div_broadcast.tflite │ │ ├── equal.inp0 │ │ ├── equal.inp1 │ │ ├── equal.out0 │ │ ├── equal.tflite │ │ ├── exp.inp0 │ │ ├── exp.out0 │ │ ├── exp.tflite │ │ ├── floor.inp0 │ │ ├── floor.out0 │ │ ├── floor.tflite │ │ ├── fully_connected.inp0 │ │ ├── fully_connected.out0 │ │ ├── fully_connected.tflite │ │ ├── gather_axis0.inp0 │ │ ├── gather_axis0.inp1 │ │ ├── gather_axis0.out0 │ │ ├── gather_axis0.tflite │ │ ├── gather_axis1.inp0 │ │ ├── gather_axis1.inp1 │ │ ├── gather_axis1.out0 │ │ ├── gather_axis1.tflite │ │ ├── gather_nd.inp0 │ │ ├── gather_nd.inp1 │ │ ├── gather_nd.out0 │ │ ├── gather_nd.tflite │ │ ├── greater.inp0 │ │ ├── greater.inp1 │ │ ├── greater.out0 │ │ ├── greater.tflite │ │ ├── greater_equal.inp0 │ │ ├── greater_equal.inp1 │ │ ├── greater_equal.out0 │ │ ├── greater_equal.tflite │ │ ├── hardSwish.inp0 │ │ ├── hardSwish.out0 │ │ ├── hardSwish.tflite │ │ ├── leaky_relu.inp0 │ │ ├── leaky_relu.out0 │ │ ├── leaky_relu.tflite │ │ ├── less.inp0 │ │ ├── less.inp1 │ │ ├── less.out0 │ │ ├── less.tflite │ │ ├── less_equal.inp0 │ │ ├── less_equal.inp1 │ │ ├── less_equal.out0 │ │ ├── less_equal.tflite │ │ ├── log.inp0 │ │ ├── log.out0 │ │ ├── log.tflite │ │ ├── log_softmax.inp0 │ │ ├── log_softmax.out0 │ │ ├── log_softmax.tflite │ │ ├── logical_and.inp0 │ │ ├── logical_and.inp1 │ │ ├── logical_and.out0 │ │ ├── logical_and.tflite │ │ ├── logical_not.inp0 │ │ ├── logical_not.out0 │ │ ├── logical_not.tflite │ │ ├── logical_or.inp0 │ │ ├── logical_or.inp1 │ │ ├── logical_or.out0 │ │ ├── logical_or.tflite │ │ ├── max.inp0 │ │ ├── max.inp1 │ │ ├── max.out0 │ │ ├── max.tflite │ │ ├── max_broadcast.inp0 │ │ ├── max_broadcast.inp1 │ │ ├── max_broadcast.out0 │ │ ├── max_broadcast.tflite │ │ ├── maxpool2d_same.inp0 │ │ ├── maxpool2d_same.out0 │ │ ├── maxpool2d_same.tflite │ │ ├── maxpool2d_valid.inp0 │ │ ├── maxpool2d_valid.out0 │ │ ├── maxpool2d_valid.tflite │ │ ├── mean_keep_dims.inp0 │ │ ├── mean_keep_dims.out0 │ │ ├── mean_keep_dims.tflite │ │ ├── mean_multiple_axis_keep_dims.inp0 │ │ ├── mean_multiple_axis_keep_dims.out0 │ │ ├── mean_multiple_axis_keep_dims.tflite │ │ ├── mean_multiple_axis_no_keep_dims.inp0 │ │ ├── mean_multiple_axis_no_keep_dims.out0 │ │ ├── mean_multiple_axis_no_keep_dims.tflite │ │ ├── mean_no_keep_dims.inp0 │ │ ├── mean_no_keep_dims.out0 │ │ ├── mean_no_keep_dims.tflite │ │ ├── min.inp0 │ │ ├── min.inp1 │ │ ├── min.out0 │ │ ├── min.tflite │ │ ├── min_broadcast.inp0 │ │ ├── min_broadcast.inp1 │ │ ├── min_broadcast.out0 │ │ ├── min_broadcast.tflite │ │ ├── mul.inp0 │ │ ├── mul.inp1 │ │ ├── mul.out0 │ │ ├── mul.tflite │ │ ├── mul_broadcast.inp0 │ │ ├── mul_broadcast.inp1 │ │ ├── mul_broadcast.out0 │ │ ├── mul_broadcast.tflite │ │ ├── neg.inp0 │ │ ├── neg.out0 │ │ ├── neg.tflite │ │ ├── not_equal.inp0 │ │ ├── not_equal.inp1 │ │ ├── not_equal.out0 │ │ ├── not_equal.tflite │ │ ├── pack.inp0 │ │ ├── pack.inp1 │ │ ├── pack.out0 │ │ ├── pack.tflite │ │ ├── pad.inp0 │ │ ├── pad.out0 │ │ ├── pad.tflite │ │ ├── pow.inp0 │ │ ├── pow.inp1 │ │ ├── pow.out0 │ │ ├── pow.tflite │ │ ├── prelu.inp0 │ │ ├── prelu.out0 │ │ ├── prelu.tflite │ │ ├── relu.inp0 │ │ ├── relu.out0 │ │ ├── relu.tflite │ │ ├── relu6.inp0 │ │ ├── relu6.out0 │ │ ├── relu6.tflite │ │ ├── relu_n1to1.inp0 │ │ ├── relu_n1to1.out0 │ │ ├── relu_n1to1.tflite │ │ ├── reshape.inp0 │ │ ├── reshape.out0 │ │ ├── reshape.tflite │ │ ├── reshape_neg_shape.inp0 │ │ ├── reshape_neg_shape.out0 │ │ ├── reshape_neg_shape.tflite │ │ ├── resize_bilinear.inp0 │ │ ├── resize_bilinear.out0 │ │ ├── resize_bilinear.tflite │ │ ├── resize_nearest.inp0 │ │ ├── resize_nearest.out0 │ │ ├── resize_nearest.tflite │ │ ├── round.inp0 │ │ ├── round.out0 │ │ ├── round.tflite │ │ ├── rsqrt.inp0 │ │ ├── rsqrt.out0 │ │ ├── rsqrt.tflite │ │ ├── select.inp0 │ │ ├── select.inp1 │ │ ├── select.inp2 │ │ ├── select.out0 │ │ ├── select.tflite │ │ ├── sigmoid.inp0 │ │ ├── sigmoid.out0 │ │ ├── sigmoid.tflite │ │ ├── sin.inp0 │ │ ├── sin.out0 │ │ ├── sin.tflite │ │ ├── slice.inp0 │ │ ├── slice.out0 │ │ ├── slice.tflite │ │ ├── slice_neg_size.inp0 │ │ ├── slice_neg_size.out0 │ │ ├── slice_neg_size.tflite │ │ ├── softmax.inp0 │ │ ├── softmax.out0 │ │ ├── softmax.tflite │ │ ├── spaceToBatchNd.inp0 │ │ ├── spaceToBatchNd.out0 │ │ ├── spaceToBatchNd.tflite │ │ ├── space_to_depth.inp0 │ │ ├── space_to_depth.out0 │ │ ├── space_to_depth.tflite │ │ ├── split.inp0 │ │ ├── split.out0 │ │ ├── split.out1 │ │ ├── split.out2 │ │ ├── split.tflite │ │ ├── sqrt.inp0 │ │ ├── sqrt.out0 │ │ ├── sqrt.tflite │ │ ├── square.inp0 │ │ ├── square.out0 │ │ ├── square.tflite │ │ ├── strided_slice_test0.inp0 │ │ ├── strided_slice_test0.out0 │ │ ├── strided_slice_test0.tflite │ │ ├── strided_slice_test1.inp0 │ │ ├── strided_slice_test1.out0 │ │ ├── strided_slice_test1.tflite │ │ ├── strided_slice_test2.inp0 │ │ ├── strided_slice_test2.out0 │ │ ├── strided_slice_test2.tflite │ │ ├── strided_slice_test3.inp0 │ │ ├── strided_slice_test3.out0 │ │ ├── strided_slice_test3.tflite │ │ ├── strided_slice_test4.inp0 │ │ ├── strided_slice_test4.out0 │ │ ├── strided_slice_test4.tflite │ │ ├── strided_slice_test5.inp0 │ │ ├── strided_slice_test5.out0 │ │ ├── strided_slice_test5.tflite │ │ ├── strided_slice_test6.inp0 │ │ ├── strided_slice_test6.out0 │ │ ├── strided_slice_test6.tflite │ │ ├── sub.inp0 │ │ ├── sub.inp1 │ │ ├── sub.out0 │ │ ├── sub.tflite │ │ ├── sub_broadcast.inp0 │ │ ├── sub_broadcast.inp1 │ │ ├── sub_broadcast.out0 │ │ ├── sub_broadcast.tflite │ │ ├── tanh.inp0 │ │ ├── tanh.out0 │ │ ├── tanh.tflite │ │ ├── tflite_detection_post_processing_boxes.bin │ │ ├── tflite_detection_post_processing_fast.tflite │ │ ├── tflite_detection_post_processing_regular.tflite │ │ ├── tflite_detection_post_processing_scores.bin │ │ ├── tile.inp0 │ │ ├── tile.out0 │ │ ├── tile.tflite │ │ ├── transpose.inp0 │ │ ├── transpose.out0 │ │ ├── transpose.tflite │ │ ├── unpack.inp0 │ │ ├── unpack.out0 │ │ ├── unpack.out1 │ │ ├── unpack.out2 │ │ └── unpack.tflite ├── run_outputcheck.sh ├── runtime_test │ ├── CMakeLists.txt │ ├── backendSpecificOpts.yaml │ ├── cpuConfigs.yaml │ └── heterogeneousConfigs.yaml ├── stress │ ├── CMakeLists.txt │ ├── ParameterSweepTest.cpp │ └── SparseLengthsSumTest.cpp ├── text-translator │ ├── en2gr_cpu_config_test.sh │ ├── en2gr_cpu_partition_test.sh │ ├── en2gr_cpu_test.sh │ └── en2gr_quantization_test.sh ├── unittests │ ├── BackendCorrectnessTest.cpp │ ├── BackendTest.cpp │ ├── BackendTestUtils.cpp │ ├── BackendTestUtils.h │ ├── BasicIRTest.cpp │ ├── BundleSaverTest.cpp │ ├── CMakeLists.txt │ ├── CPUJITTest.cpp │ ├── Caffe2ImporterTest.cpp │ ├── DeferredWeightLoaderTest.cpp │ ├── DeviceManagerTest.cpp │ ├── ErrorTest.cpp │ ├── Float16Test.cpp │ ├── FollyTest.cpp │ ├── GemmTest.cpp │ ├── GlowOnnxifiManagerTest.cpp │ ├── GradCheckTest.cpp │ ├── GraphGradTest.cpp │ ├── GraphOptzTest.cpp │ ├── GraphSchedulerTest.cpp │ ├── GraphTest.cpp │ ├── HabanaGlowTest.cpp │ ├── HabanaTest.cpp │ ├── HostManagerTest.cpp │ ├── HyphenTest.cpp │ ├── IROptTest.cpp │ ├── ImageLoaderTest.cpp │ ├── ImageTest.cpp │ ├── ImporterTestUtils.h │ ├── InputSanitizerTest.cpp │ ├── LLVMIRGenTest.cpp │ ├── LoaderTest.cpp │ ├── MLTest.cpp │ ├── MemoryAllocatorTest.cpp │ ├── MemoryAllocatorTestModels.txt │ ├── NNPIOptPipelineTest.cpp │ ├── NameScrambler.cpp │ ├── NodeSplittingTest.cpp │ ├── NumericsTest.cpp │ ├── OCLTest.cpp │ ├── OnnxExporterTest.cpp │ ├── OnnxImporterTest.cpp │ ├── OperatorGradTest.cpp │ ├── OperatorTest.cpp │ ├── PartitionerTest.cpp │ ├── PassManagerTest.cpp │ ├── ProvisionerTest.cpp │ ├── QuantizationTest.cpp │ ├── RecommendationSystemTest.cpp │ ├── Repro.cpp │ ├── StatsExporterTest.cpp │ ├── StrCheck.cpp │ ├── SupportTest.cpp │ ├── TFLiteImporterTest.cpp │ ├── TaggedListTest.cpp │ ├── TensorLayoutTest.cpp │ ├── TensorPoolTest.cpp │ ├── TensorsTest.cpp │ ├── TestMain.cpp │ ├── ThreadPoolExecutorTest.cpp │ ├── ThreadPoolTest.cpp │ ├── TraceEventsTest.cpp │ ├── TraceExporterTest.cpp │ ├── TypeAToTypeBFunctionConverterTest.cpp │ ├── UtilsTest.cpp │ └── test_libjit.cpp └── utils │ └── genNetwork.py ├── thirdparty ├── miniz-2.0.8 │ ├── ChangeLog.md │ ├── LICENSE │ ├── examples │ │ ├── example1.c │ │ ├── example2.c │ │ ├── example3.c │ │ ├── example4.c │ │ ├── example5.c │ │ └── example6.c │ ├── miniz.c │ ├── miniz.h │ └── readme.md └── tflite │ ├── Readme.md │ ├── flatbuffers │ ├── base.h │ ├── flatbuffers.h │ ├── flexbuffers.h │ ├── stl_emulation.h │ └── util.h │ └── schema_generated.h ├── tools ├── CMakeLists.txt ├── ClassGen │ ├── CMakeLists.txt │ ├── InstrBuilder.cpp │ ├── InstrBuilder.h │ ├── InstrGen.cpp │ ├── MemberType.cpp │ ├── MemberType.h │ ├── NodeBuilder.cpp │ ├── NodeBuilder.h │ └── NodeGen.cpp ├── Debugger │ ├── CMakeLists.txt │ ├── NetworkComparator.cpp │ ├── NetworkComparator.h │ └── network-debugger.cpp ├── IncludeBin │ ├── CMakeLists.txt │ └── IncludeBin.cpp ├── loader │ ├── CMakeLists.txt │ ├── ExecutorCore.cpp │ ├── ExecutorCore.h │ ├── ExecutorCoreHelperFunctions.cpp │ ├── ExecutorCoreHelperFunctions.h │ ├── ImageClassifier.cpp │ ├── Loader.cpp │ ├── Loader.h │ ├── LoaderUtils.cpp │ ├── LoaderUtils.h │ ├── ModelCompiler.cpp │ ├── ModelProfiler.cpp │ ├── ModelRunner.cpp │ ├── ModelTuner.cpp │ ├── ObjectDetector.cpp │ ├── TextTranslator.cpp │ └── XModelBuilder.cpp └── png2bin │ ├── CMakeLists.txt │ └── png2bin.cpp ├── torch_glow ├── examples │ ├── basic_example.py │ ├── profiling_executor_example.py │ └── resnet_example.py ├── setup.cfg ├── setup.py ├── src │ ├── CMakeLists.txt │ ├── CachingGraphRunner.cpp │ ├── CachingGraphRunner.h │ ├── CustomPyTorchOpLoader.cpp │ ├── CustomPyTorchOpLoader.h │ ├── FuseKnownPatterns.cpp │ ├── FuseKnownPatterns.h │ ├── GlowCompileSpec.cpp │ ├── GlowCompileSpec.h │ ├── GlowFuser.cpp │ ├── GlowFuser.h │ ├── GlowIValue.cpp │ ├── GlowIValue.h │ ├── InputMeta.cpp │ ├── InputMeta.h │ ├── PyTorchCommon.cpp │ ├── PyTorchCommon.h │ ├── PyTorchModelLoader.cpp │ ├── PyTorchModelLoader.h │ ├── Registration.cpp │ ├── Registration.h │ ├── ShapeInferenceEngine.cpp │ ├── ShapeInferenceEngine.h │ ├── TorchGlowBackend.cpp │ ├── TorchGlowBackend.h │ └── binding.cpp ├── tests │ ├── __init__.py │ ├── backends │ │ └── NNPI │ │ │ ├── model_serialization_test.py │ │ │ └── qconv_big_stride_small_kernel_test.py │ ├── conftest.py │ ├── functionality │ │ ├── __init__.py │ │ ├── blocklist_test.py │ │ ├── compilation_spec_test.py │ │ ├── conv_to_glow_test.py │ │ ├── fuse_necessary_getattrs_only.py │ │ ├── fuse_parallel_branches_test.py │ │ ├── fused_linear_test.py │ │ ├── input_spec_test.py │ │ ├── jit_vs_glow_path_test.py │ │ ├── load_backend_specific_options_test.py │ │ ├── max_fusion_merge_size_test.py │ │ ├── min_graph_size_test.py │ │ ├── only_tensor_outputs_test.py │ │ ├── print_jit_index_test.py │ │ ├── quantized_cut_in_the_middle_test.py │ │ ├── randomize_constants_test.py │ │ ├── remove_exceptions_test.py │ │ ├── set_glow_backend_test.py │ │ ├── shape_inference_test.py │ │ ├── to_glow_multiple_input_sets_test.py │ │ ├── to_glow_num_devices_to_use_test.py │ │ ├── to_glow_save_preprocessed_test.py │ │ ├── to_glow_selective_test.py │ │ ├── to_glow_tuple_output_test.py │ │ └── to_glow_write_to_onnx_test.py │ ├── nodes │ │ ├── Int_test.py │ │ ├── __init__.py │ │ ├── abs_test.py │ │ ├── adaptive_avg_pool2d_test.py │ │ ├── add_test.py │ │ ├── addmm_test.py │ │ ├── and_test.py │ │ ├── arange_test.py │ │ ├── arg_min_max_test.py │ │ ├── argsort_test.py │ │ ├── attention_test.py │ │ ├── avgpool1d_test.py │ │ ├── avgpool2d_test.py │ │ ├── avgpool3d_test.py │ │ ├── baddbmm_test.py │ │ ├── batch_permutation_test.py │ │ ├── batchnorm0d_test.py │ │ ├── batchnorm1d_test.py │ │ ├── batchnorm2d_test.py │ │ ├── batchnorm3d_test.py │ │ ├── bbox_transform_test.py │ │ ├── bitwise_and_test.py │ │ ├── bitwise_not_test.py │ │ ├── bitwise_or_test.py │ │ ├── bitwise_xor_test.py │ │ ├── bmm_test.py │ │ ├── cat_test.py │ │ ├── ceil_test.py │ │ ├── clamp_min_test.py │ │ ├── clamp_test.py │ │ ├── clone_test.py │ │ ├── cmp_test.py │ │ ├── constant_chunk_test.py │ │ ├── contiguous_test.py │ │ ├── conv2d_test.py │ │ ├── conv3d_test.py │ │ ├── conv_transpose2d_test.py │ │ ├── copy_test.py │ │ ├── cumsum_test.py │ │ ├── detach_test.py │ │ ├── div_test.py │ │ ├── dropout_test.py │ │ ├── dynamic_qlinear_test.py │ │ ├── embedding_bag_test.py │ │ ├── embedding_test.py │ │ ├── erf_test.py │ │ ├── exp_test.py │ │ ├── expand_as_test.py │ │ ├── expand_test.py │ │ ├── flatten_test.py │ │ ├── floor_div_test.py │ │ ├── floor_test.py │ │ ├── fmod_test.py │ │ ├── full_like_test.py │ │ ├── gather_test.py │ │ ├── gelu_test.py │ │ ├── getattr_test.py │ │ ├── iand_test.py │ │ ├── index_put_test.py │ │ ├── index_select_test.py │ │ ├── layernorm_test.py │ │ ├── leaky_relu_test.py │ │ ├── linear_test.py │ │ ├── log_softmax_test.py │ │ ├── log_test.py │ │ ├── logical_ops_test.py │ │ ├── lstm_test.py │ │ ├── masked_fill_test.py │ │ ├── matmul_test.py │ │ ├── max_test.py │ │ ├── maxpool2d_test.py │ │ ├── mean_test.py │ │ ├── min_test.py │ │ ├── mm_test.py │ │ ├── mul_test.py │ │ ├── norm_test.py │ │ ├── num_to_tensor_test.py │ │ ├── permute_test.py │ │ ├── pixel_shuffle_test.py │ │ ├── pixel_unshuffle_test.py │ │ ├── pow_test.py │ │ ├── prelu_test.py │ │ ├── quantized_add_relu_test.py │ │ ├── quantized_add_test.py │ │ ├── quantized_avgpool2d_test.py │ │ ├── quantized_avgpool3d_test.py │ │ ├── quantized_batchnorm2d_test.py │ │ ├── quantized_batchnorm3d_relu_test.py │ │ ├── quantized_batchnorm3d_test.py │ │ ├── quantized_cat_test.py │ │ ├── quantized_conv2d_relu_test.py │ │ ├── quantized_conv2d_test.py │ │ ├── quantized_conv3d_relu_test.py │ │ ├── quantized_conv3d_test.py │ │ ├── quantized_layernorm_test.py │ │ ├── quantized_leaky_relu_test.py │ │ ├── quantized_linear_test.py │ │ ├── quantized_maxpool_test.py │ │ ├── quantized_mul_test.py │ │ ├── quantized_relu_test.py │ │ ├── reciprocal_test.py │ │ ├── relu_test.py │ │ ├── repeat_test.py │ │ ├── reshape_test.py │ │ ├── roi_align_rotated_test.py │ │ ├── roi_align_test.py │ │ ├── rsub_test.py │ │ ├── select_test.py │ │ ├── shape_as_tensor_test.py │ │ ├── sigmoid_test.py │ │ ├── size_test.py │ │ ├── slice_test.py │ │ ├── softmax_test.py │ │ ├── softplus_test.py │ │ ├── split_test.py │ │ ├── sqrt_test.py │ │ ├── squeeze_test.py │ │ ├── stack_test.py │ │ ├── sub_test.py │ │ ├── sum_test.py │ │ ├── tanh_test.py │ │ ├── to_test.py │ │ ├── topk_test.py │ │ ├── transpose_test.py │ │ ├── trig_ops_test.py │ │ ├── typeas_test.py │ │ ├── unsqueeze_test.py │ │ ├── upsample_test.py │ │ ├── view_test.py │ │ └── zero_test.py │ ├── unittests │ │ ├── GlowIValueTests.cpp │ │ ├── NominalInputBatchIdxTests.cpp │ │ └── PyTorchCommonTests.cpp │ └── utils.py ├── torch_glow │ ├── __init__.py │ └── to_glow.py └── utils │ ├── __init__.py │ └── torchvision_fake │ ├── __init__.py │ ├── resnet.py │ └── transforms.py └── utils ├── build_llvm.sh ├── caffe2_model_runner.py ├── caffe2_pb_runner.py ├── caffe2_train_and_dump_pb.py ├── compilation_filter.py ├── decode_caffe2_protoc.sh ├── docker ├── Dockerfile ├── README.md └── build.sh ├── download_datasets_and_models.py ├── encode_caffe2_protoc.sh ├── export_onnx_model.py ├── format.sh ├── glow-trace-concat.sh ├── imagenet-process.py ├── imagenet_topk_accuracy_driver.py ├── install_protobuf.sh ├── license.sh ├── log_parser.py ├── s3put.sh ├── scripts ├── dce_caffe2_model.py ├── gen_caffe2_model.py ├── gen_onnx_gru_model.py ├── gen_onnx_lstm_model.py ├── gen_onnx_mfcc_model.py ├── gen_onnx_model.py ├── gen_onnx_rnn_model.py ├── gen_onnx_spectrogram_model.py ├── gen_tflite_models.py ├── plot_histogram.py └── visualize_allocations.py └── trace_parser.py /.ci/bundle_instrument_expected_output.txt: -------------------------------------------------------------------------------- 1 | Number of instructions: 8 2 | Number of data dumps: 24 3 | Result: 0 4 | Confidence: 0.991618 5 | -------------------------------------------------------------------------------- /.ci/bundle_tflite_custom_expected_output.txt: -------------------------------------------------------------------------------- 1 | TFLite Custom Operator 2 | Type: MyCustomOperator 3 | Options (raw): 4 | Size (uint8) = 43 5 | Vals (uint8) = 105, 110, 116, 95, 102, 105, 101, 108, 100, 0, 115, 116, 114, 105, 110, 103, 95, 102, 105, 101, 108, 100, 0, 5, 100, 117, 109, 109, 121, 0, 2, 31, 22, 2, 1, 2, 13, 13, 4, 20, 4, 36, 1, 6 | Options (flexbuffer): 7 | int_field = 13 8 | string_field = dummy 9 | Input[0]: 10 | Size (f32) = 1 11 | Vals (f32) = 1.000000, 12 | Input[1]: 13 | Size (f32) = 2 14 | Vals (f32) = 1.000000, 2.000000, 15 | Output[0]: 16 | Size (f32) = 3 17 | Vals (f32) = 1.000000, 2.000000, 3.000000, 18 | Output[1]: 19 | Size (f32) = 4 20 | Vals (f32) = 0.000000, 0.000000, 0.000000, 0.000000, 21 | -------------------------------------------------------------------------------- /.ci/bundle_with_extra_objects_expected_output.txt: -------------------------------------------------------------------------------- 1 | This is extra bundle object file for testing! 2 | -------------------------------------------------------------------------------- /.ci/bundle_with_multiple_entries_expected_output.txt: -------------------------------------------------------------------------------- 1 | Testing first bundle entry point: 2 | Allocated weights of size: 3072 3 | Expected weights of size: 3072 4 | Loaded weights of size: 3072 from the file testBundle.weights.bin 5 | Allocated mutable weight variables of size: 256 6 | Allocated activations variable of size: 128 7 | Output weight output1: 2.00 2.00 2.00 2.00 2.00 2.00 2.00 2.00 2.00 2.00 2.00 2.00 2.00 2.00 2.00 2.00 8 | 9 | Testing second bundle entry point: 10 | Allocated weights of size: 3072 11 | Expected weights of size: 3072 12 | Loaded weights of size: 3072 from the file testBundle.weights.bin 13 | Allocated mutable weight variables of size: 256 14 | Allocated activations variable of size: 128 15 | Output weight output2: 6.00 6.00 6.00 6.00 6.00 6.00 6.00 6.00 6.00 6.00 6.00 6.00 6.00 6.00 6.00 6.00 16 | -------------------------------------------------------------------------------- /.ci/lenet_mnist_expected_output.txt: -------------------------------------------------------------------------------- 1 | Result: 0 2 | Result: 1 3 | Result: 2 4 | Result: 3 5 | Result: 4 6 | Result: 5 7 | Result: 6 8 | Result: 7 9 | Result: 8 10 | Result: 9 11 | -------------------------------------------------------------------------------- /.ci/resnet50_expected_output.txt: -------------------------------------------------------------------------------- 1 | Result: 285 2 | Result: 207 3 | Result: 340 4 | -------------------------------------------------------------------------------- /.circleci/lsan_suppressions.txt: -------------------------------------------------------------------------------- 1 | leak:RegisterHandlers 2 | -------------------------------------------------------------------------------- /.circleci/run_coverage.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ninja all 3 | ninja glow_coverage 4 | COVERAGE_FILE="./glow_coverage/index.html" 5 | if [ ! -f "${COVERAGE_FILE}" ]; then 6 | echo "ERROR: ${COVERAGE_FILE} not found." 7 | exit 1 8 | fi 9 | 10 | # Upload coverage only on master branch. 11 | echo "INFO: Uploading coverage to S3." 12 | 13 | BRANCH_NAME="${CIRCLE_BRANCH}" 14 | COVERAGE_DIR="$(dirname "${COVERAGE_FILE}")" 15 | UPLOAD_LOCATION="fb-glow-assets/coverage/coverage-${BRANCH_NAME}" 16 | 17 | aws s3 cp "${COVERAGE_DIR}" "s3://${UPLOAD_LOCATION}" --recursive --acl public-read 18 | echo "INFO: Coverage report for branch '${BRANCH_NAME}': https://fb-glow-assets.s3.amazonaws.com/coverage/coverage-${BRANCH_NAME}/index.html" 19 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.o 2 | *.swn 3 | *.swo 4 | *.swp 5 | *~ 6 | .DS_Store 7 | *.so 8 | *.dylib 9 | *.egg-info 10 | *.egg 11 | *.eggs 12 | *.pyc 13 | 14 | GPATH 15 | GRTAGS 16 | GTAGS 17 | tags 18 | 19 | compile_commands.json 20 | 21 | build/ 22 | external/googletest/ 23 | external/llvm/ 24 | externalbackends/*/ 25 | .vscode/ 26 | .vim/ 27 | .idea/ 28 | .ccls-cache/ 29 | .vs* 30 | build_*/* 31 | .clangd/ 32 | -------------------------------------------------------------------------------- /PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | Summary: 2 | 3 | Documentation: 4 | 5 | [Optional Fixes #issue] 6 | 7 | Test Plan: 8 | 9 | Please see a detailed explanation of how to fill out the fields in the relevant sections in PULL_REQUEST.md. 10 | -------------------------------------------------------------------------------- /cmake/modules/CMakeGraphVizOptions.cmake: -------------------------------------------------------------------------------- 1 | # Copyright (c) Glow Contributors. See CONTRIBUTORS file. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | set(GRAPHVIZ_EXTERNAL_LIBS FALSE) 16 | set(GRAPHVIZ_IGNORE_TARGETS "gtest;testMain;gmock;gmock_main;") 17 | -------------------------------------------------------------------------------- /cmake/modules/FindBackends.cmake: -------------------------------------------------------------------------------- 1 | set(GLOW_BACKENDS_DIR "${CMAKE_CURRENT_SOURCE_DIR}/lib/Backends") 2 | file(GLOB subdirs RELATIVE "${GLOW_BACKENDS_DIR}" "${GLOW_BACKENDS_DIR}/*") 3 | foreach(object ${subdirs}) 4 | if(IS_DIRECTORY "${GLOW_BACKENDS_DIR}/${object}") 5 | set(backendEnabled "GLOW_WITH_${object}") 6 | string(TOUPPER "${backendEnabled}" backendEnabled) 7 | if(NOT DEFINED ${backendEnabled} OR ${backendEnabled}) 8 | list(APPEND GLOW_BACKENDS "${object}") 9 | endif() 10 | endif() 11 | endforeach() 12 | -------------------------------------------------------------------------------- /docs/3LevelIR.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/docs/3LevelIR.png -------------------------------------------------------------------------------- /docs/DAG_example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/docs/DAG_example.png -------------------------------------------------------------------------------- /docs/HeterogeneousPartition.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/docs/HeterogeneousPartition.png -------------------------------------------------------------------------------- /docs/NodeSplitting.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/docs/NodeSplitting.png -------------------------------------------------------------------------------- /docs/chrome-tracing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/docs/chrome-tracing.png -------------------------------------------------------------------------------- /docs/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/docs/logo.png -------------------------------------------------------------------------------- /docs/module.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/docs/module.png -------------------------------------------------------------------------------- /docs/nodes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/docs/nodes.png -------------------------------------------------------------------------------- /docs/partition1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/docs/partition1.png -------------------------------------------------------------------------------- /docs/partition2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/docs/partition2.png -------------------------------------------------------------------------------- /docs/partition3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/docs/partition3.png -------------------------------------------------------------------------------- /docs/partners/bitmain.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/docs/partners/bitmain.png -------------------------------------------------------------------------------- /docs/partners/cadence.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/docs/partners/cadence.png -------------------------------------------------------------------------------- /docs/partners/ceva.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/docs/partners/ceva.png -------------------------------------------------------------------------------- /docs/partners/esperanto.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/docs/partners/esperanto.png -------------------------------------------------------------------------------- /docs/partners/habana.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/docs/partners/habana.png -------------------------------------------------------------------------------- /docs/partners/intel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/docs/partners/intel.png -------------------------------------------------------------------------------- /docs/partners/marvell.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/docs/partners/marvell.png -------------------------------------------------------------------------------- /docs/partners/nxp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/docs/partners/nxp.png -------------------------------------------------------------------------------- /docs/partners/st.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/docs/partners/st.png -------------------------------------------------------------------------------- /docs/partners/synopsys.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/docs/partners/synopsys.png -------------------------------------------------------------------------------- /docs/pred.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/docs/pred.png -------------------------------------------------------------------------------- /docs/resnet50_quantized_subgraph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/docs/resnet50_quantized_subgraph.png -------------------------------------------------------------------------------- /docs/rowwise_quantized_fc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/docs/rowwise_quantized_fc.png -------------------------------------------------------------------------------- /docs/tracing-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/docs/tracing-example.png -------------------------------------------------------------------------------- /examples/bundles/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | if (GLOW_WITH_BUNDLES) 2 | add_subdirectory(lenet_mnist) 3 | add_subdirectory(resnet50) 4 | add_subdirectory(bundle_with_multiple_entries) 5 | add_subdirectory(bundle_with_extra_objects) 6 | add_subdirectory(bundle_instrument) 7 | add_subdirectory(bundle_tflite_custom) 8 | endif() 9 | -------------------------------------------------------------------------------- /examples/bundles/bundle_tflite_custom/tflite_custom.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/examples/bundles/bundle_tflite_custom/tflite_custom.tflite -------------------------------------------------------------------------------- /examples/bundles/bundle_with_extra_objects/.gitignore: -------------------------------------------------------------------------------- 1 | !*.o 2 | 3 | -------------------------------------------------------------------------------- /examples/bundles/bundle_with_extra_objects/test.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/examples/bundles/bundle_with_extra_objects/test.o -------------------------------------------------------------------------------- /examples/training/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(resnet50) 2 | -------------------------------------------------------------------------------- /examples/training/resnet50/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | if(PNG_FOUND) 2 | add_executable(resnet-training 3 | main.cpp) 4 | target_link_libraries(resnet-training 5 | PRIVATE 6 | Backends 7 | ExecutionEngine 8 | Graph 9 | Importer 10 | GraphOptimizer) 11 | endif() 12 | -------------------------------------------------------------------------------- /externalbackends/README.txt: -------------------------------------------------------------------------------- 1 | This directory is intended to contain external backends. 2 | -------------------------------------------------------------------------------- /lib/Backend/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_library(Backend 2 | Backend.cpp 3 | BackendUtils.cpp 4 | CompiledFunction.cpp) 5 | target_link_libraries(Backend 6 | PUBLIC 7 | ExecutionContext 8 | PRIVATE 9 | Base 10 | CodeGen 11 | Graph 12 | IR 13 | IROptimizerPipeline 14 | GraphOptimizerPipeline 15 | Runtime) 16 | -------------------------------------------------------------------------------- /lib/Backends/CPU/ClassGen/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(VERIF_FILENAME CPUSpecificNodesVerification.h) 2 | configure_file(${VERIF_FILENAME} 3 | ${GLOW_BINARY_DIR}/glow/${VERIF_FILENAME} COPYONLY) 4 | 5 | set(VERIF_FILENAME CPUSpecificInstrsVerification.h) 6 | configure_file(${VERIF_FILENAME} 7 | ${GLOW_BINARY_DIR}/glow/${VERIF_FILENAME} COPYONLY) 8 | -------------------------------------------------------------------------------- /lib/Backends/Habana/ClassGen/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(VERIF_FILENAME HabanaSpecificNodesVerification.h) 2 | configure_file(${VERIF_FILENAME} 3 | ${GLOW_BINARY_DIR}/glow/${VERIF_FILENAME} COPYONLY) 4 | -------------------------------------------------------------------------------- /lib/Backends/NNPI/ClassGen/NNPISpecificTypes.h: -------------------------------------------------------------------------------- 1 | enum NNPILookupType { 2 | LOOKUP_DIRECT_LUT = 0, 3 | LOOKUP_LINEAR_INTERPOLATION, 4 | LOOKUP_QUADRATIC_INTERPOLATION 5 | }; 6 | -------------------------------------------------------------------------------- /lib/Backends/OpenCL/ClassGen/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(VERIF_FILENAME OpenCLSpecificNodesVerification.h) 2 | configure_file(${VERIF_FILENAME} 3 | ${GLOW_BINARY_DIR}/glow/${VERIF_FILENAME} COPYONLY) 4 | 5 | set(VERIF_FILENAME OpenCLSpecificInstrsVerification.h) 6 | configure_file(${VERIF_FILENAME} 7 | ${GLOW_BINARY_DIR}/glow/${VERIF_FILENAME} COPYONLY) 8 | -------------------------------------------------------------------------------- /lib/Backends/OpenCL/ClassGen/OpenCLSpecificInstrsVerification.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Glow Contributors. See CONTRIBUTORS file. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #ifdef GLOW_WITH_OPENCL 18 | 19 | #endif // GLOW_WITH_OPENCL 20 | -------------------------------------------------------------------------------- /lib/CodeGen/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_library(CodeGen MemoryAllocator.cpp) 2 | 3 | target_link_libraries(CodeGen 4 | PRIVATE 5 | Support) 6 | -------------------------------------------------------------------------------- /lib/Converter/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_library(Converter 2 | Float16Converter.cpp 3 | FusedRowwiseConverter.cpp 4 | FunctionConverter.cpp 5 | TypeAToTypeBFunctionConverter.cpp) 6 | 7 | target_link_libraries(Converter 8 | PRIVATE 9 | Base 10 | Graph) 11 | -------------------------------------------------------------------------------- /lib/ExecutionContext/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_library(ExecutionContext 2 | TraceEvents.cpp) 3 | target_link_libraries(ExecutionContext 4 | PRIVATE 5 | Base 6 | Graph) 7 | 8 | -------------------------------------------------------------------------------- /lib/ExecutionEngine/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_library(ExecutionEngine 2 | ExecutionEngine.cpp) 3 | 4 | target_link_libraries(ExecutionEngine 5 | PRIVATE 6 | Backend 7 | Backends 8 | HostManager 9 | GraphOptimizer 10 | Base 11 | Graph) 12 | -------------------------------------------------------------------------------- /lib/Flags/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_library(Flags 2 | Flags.cpp) 3 | target_link_libraries(Flags 4 | PUBLIC 5 | gflags 6 | glog::glog 7 | LLVMSupport) 8 | -------------------------------------------------------------------------------- /lib/Optimizer/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(GraphOptimizer) 2 | add_subdirectory(GraphOptimizerPipeline) 3 | add_subdirectory(IROptimizer) 4 | add_subdirectory(IROptimizerPipeline) 5 | add_subdirectory(Lower) 6 | -------------------------------------------------------------------------------- /lib/Optimizer/GraphOptimizer/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_library(GraphOptimizer 2 | ConstantFolding.cpp 3 | FunctionPassManager.cpp 4 | GraphOptimizer.cpp 5 | Lower.cpp 6 | Quantization.cpp 7 | TrainingPreparation.cpp 8 | NodeSplitting.cpp) 9 | 10 | target_link_libraries(GraphOptimizer 11 | PRIVATE 12 | Backend 13 | Converter 14 | Graph 15 | GraphOptimizerPipeline 16 | Lower 17 | Interpreter 18 | PassManager 19 | Quantization 20 | QuantizationBase) 21 | -------------------------------------------------------------------------------- /lib/Optimizer/GraphOptimizerPipeline/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_library(GraphOptimizerPipeline 2 | FunctionPassPipeline.cpp) 3 | 4 | target_link_libraries(GraphOptimizerPipeline 5 | PRIVATE 6 | Graph 7 | LLVMCore 8 | PassManager) 9 | -------------------------------------------------------------------------------- /lib/Optimizer/IROptimizer/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_library(IROptimizer 2 | IRFunctionPassManager.cpp 3 | IROptimizer.cpp 4 | IRInstrumentation.cpp) 5 | 6 | target_link_libraries(IROptimizer 7 | PRIVATE 8 | Graph 9 | IR 10 | QuantizationBase 11 | PassManager) 12 | -------------------------------------------------------------------------------- /lib/Optimizer/IROptimizerPipeline/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_library(IROptimizerPipeline 2 | IRFunctionPassPipeline.cpp 3 | CommandLine.cpp) 4 | 5 | target_link_libraries(IROptimizerPipeline 6 | PRIVATE 7 | IR 8 | LLVMCore 9 | PassManager) 10 | -------------------------------------------------------------------------------- /lib/Optimizer/Lower/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_library(Lower 2 | Lower.cpp) 3 | 4 | target_link_libraries(Lower 5 | PRIVATE 6 | Graph 7 | Quantization 8 | QuantizationBase) 9 | -------------------------------------------------------------------------------- /lib/Partitioner/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_library(Partitioner 2 | PartitionerBase.cpp 3 | PartitionerUtils.cpp 4 | PartitionerOptimizer.cpp 5 | PartitionerValidation.cpp 6 | Partitioner.cpp) 7 | 8 | target_link_libraries(Partitioner 9 | PRIVATE 10 | Backends 11 | Flags 12 | Graph 13 | GraphOptimizer) 14 | -------------------------------------------------------------------------------- /lib/PassManager/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_library(PassManager 2 | PassConfig.cpp 3 | PassManager.cpp 4 | PassPipeline.cpp) 5 | 6 | target_link_libraries(PassManager 7 | PRIVATE 8 | Base 9 | Support 10 | glog::glog) 11 | -------------------------------------------------------------------------------- /lib/Quantization/Base/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_library(QuantizationBase 2 | Profile.cpp 3 | Base.cpp 4 | Calibration.cpp) 5 | target_link_libraries(QuantizationBase 6 | PRIVATE 7 | LLVMSupport 8 | Base) 9 | 10 | add_dependencies(QuantizationBase AutoGen) 11 | -------------------------------------------------------------------------------- /lib/Quantization/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(Base) 2 | 3 | add_library(Quantization 4 | Serialization.cpp 5 | Quantization.cpp) 6 | 7 | target_link_libraries(Quantization 8 | PRIVATE 9 | Converter 10 | Graph 11 | Backend 12 | QuantizationBase 13 | LLVMSupport) 14 | -------------------------------------------------------------------------------- /lib/Runtime/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(Provisioner) 2 | add_subdirectory(Executor) 3 | add_subdirectory(HostManager) 4 | 5 | add_library(Runtime 6 | ErrorReporter.cpp 7 | DeviceHealthMonitor.cpp 8 | DeferredWeightLoader.cpp 9 | InputSanitizer.cpp 10 | TraceExporter.cpp 11 | StatsExporter.cpp) 12 | target_link_libraries(Runtime 13 | PUBLIC 14 | ExecutionContext 15 | PRIVATE 16 | Support) 17 | -------------------------------------------------------------------------------- /lib/Runtime/Executor/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_library(Executor 2 | NetworkExecutionState.cpp 3 | ThreadPoolExecutor.cpp) 4 | 5 | target_link_libraries(Executor 6 | PRIVATE 7 | Backend 8 | Backends 9 | ExecutionContext 10 | Graph) 11 | -------------------------------------------------------------------------------- /lib/Runtime/HostManager/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_library(HostManager 2 | HostManager.cpp) 3 | 4 | target_link_libraries(HostManager 5 | PRIVATE 6 | Backends 7 | Base 8 | Executor 9 | Exporter 10 | Importer 11 | Graph 12 | GraphOptimizer 13 | Partitioner 14 | Provisioner 15 | Runtime) 16 | -------------------------------------------------------------------------------- /lib/Runtime/Provisioner/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_library(Provisioner 2 | Provisioner.cpp) 3 | 4 | target_link_libraries(Provisioner 5 | PRIVATE 6 | Backend 7 | Backends 8 | Flags 9 | Graph 10 | Runtime) 11 | -------------------------------------------------------------------------------- /lib/Support/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_library(Support 2 | Debug.cpp 3 | Error.cpp 4 | Random.cpp 5 | Support.cpp 6 | ThreadPool.cpp 7 | ZipUtils.cpp) 8 | target_link_libraries(Support 9 | PUBLIC 10 | Flags 11 | LLVMSupport 12 | Miniz 13 | glog::glog 14 | folly_jemalloc 15 | ) 16 | 17 | add_subdirectory(TensorPool) 18 | -------------------------------------------------------------------------------- /lib/Support/TensorPool/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_library(TensorPool 2 | TensorPool.cpp) 3 | target_link_libraries(TensorPool 4 | PRIVATE 5 | Base) 6 | -------------------------------------------------------------------------------- /tests/Testing/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_library(Testing 2 | StrCheck.cpp) 3 | target_link_libraries(Testing 4 | PRIVATE 5 | LLVMSupport 6 | gtest) 7 | -------------------------------------------------------------------------------- /tests/images/EmotionSampleImages/README: -------------------------------------------------------------------------------- 1 | Images taken from https://github.com/Microsoft/onnxjs-demo/tree/master/src/assets/EmotionSampleImages 2 | and converted to png using imagemagick: 3 | for i in *.jpg 4 | do 5 | convert $i -resize 64x64\! -colorspace gray ${i%.jpg}.png 6 | done 7 | -------------------------------------------------------------------------------- /tests/images/EmotionSampleImages/angry_baby.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/EmotionSampleImages/angry_baby.png -------------------------------------------------------------------------------- /tests/images/EmotionSampleImages/angry_man.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/EmotionSampleImages/angry_man.png -------------------------------------------------------------------------------- /tests/images/EmotionSampleImages/fear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/EmotionSampleImages/fear.png -------------------------------------------------------------------------------- /tests/images/EmotionSampleImages/happy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/EmotionSampleImages/happy.png -------------------------------------------------------------------------------- /tests/images/EmotionSampleImages/neutral.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/EmotionSampleImages/neutral.png -------------------------------------------------------------------------------- /tests/images/EmotionSampleImages/neutral_girl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/EmotionSampleImages/neutral_girl.png -------------------------------------------------------------------------------- /tests/images/EmotionSampleImages/sad_baby.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/EmotionSampleImages/sad_baby.png -------------------------------------------------------------------------------- /tests/images/EmotionSampleImages/sad_baby2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/EmotionSampleImages/sad_baby2.png -------------------------------------------------------------------------------- /tests/images/EmotionSampleImages/surprised_boy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/EmotionSampleImages/surprised_boy.png -------------------------------------------------------------------------------- /tests/images/EmotionSampleImages/surprised_woman.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/EmotionSampleImages/surprised_woman.png -------------------------------------------------------------------------------- /tests/images/imagenet/cat_285.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/imagenet/cat_285.png -------------------------------------------------------------------------------- /tests/images/imagenet/dog_207.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/imagenet/dog_207.png -------------------------------------------------------------------------------- /tests/images/imagenet/zebra_340.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/imagenet/zebra_340.png -------------------------------------------------------------------------------- /tests/images/imagenet_299/cat_281_299.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/imagenet_299/cat_281_299.png -------------------------------------------------------------------------------- /tests/images/imagenet_299/dog_207_299.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/imagenet_299/dog_207_299.png -------------------------------------------------------------------------------- /tests/images/imagenet_299/zebra_340_299.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/imagenet_299/zebra_340_299.png -------------------------------------------------------------------------------- /tests/images/mnist/0_1009.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/mnist/0_1009.png -------------------------------------------------------------------------------- /tests/images/mnist/1_1008.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/mnist/1_1008.png -------------------------------------------------------------------------------- /tests/images/mnist/2_1065.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/mnist/2_1065.png -------------------------------------------------------------------------------- /tests/images/mnist/3_1020.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/mnist/3_1020.png -------------------------------------------------------------------------------- /tests/images/mnist/4_1059.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/mnist/4_1059.png -------------------------------------------------------------------------------- /tests/images/mnist/5_1087.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/mnist/5_1087.png -------------------------------------------------------------------------------- /tests/images/mnist/6_1099.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/mnist/6_1099.png -------------------------------------------------------------------------------- /tests/images/mnist/7_1055.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/mnist/7_1055.png -------------------------------------------------------------------------------- /tests/images/mnist/8_1026.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/mnist/8_1026.png -------------------------------------------------------------------------------- /tests/images/mnist/9_1088.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/mnist/9_1088.png -------------------------------------------------------------------------------- /tests/images/npy/cat_285_i8_224.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/npy/cat_285_i8_224.npy -------------------------------------------------------------------------------- /tests/images/npy/cat_285_u8_224.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/npy/cat_285_u8_224.npy -------------------------------------------------------------------------------- /tests/images/npy/input1List_3D.txt: -------------------------------------------------------------------------------- 1 | tests/images/npy/tensor_1x2x4_u8.npy 2 | -------------------------------------------------------------------------------- /tests/images/npy/input1List_3D_f32.txt: -------------------------------------------------------------------------------- 1 | tests/images/npy/tensor_1x2x4_f32.npy 2 | -------------------------------------------------------------------------------- /tests/images/npy/input1List_3D_f32_2.txt: -------------------------------------------------------------------------------- 1 | tests/images/npy/tensor_1x2x4_f32_2.npy 2 | -------------------------------------------------------------------------------- /tests/images/npy/input1List_3D_i16.txt: -------------------------------------------------------------------------------- 1 | tests/images/npy/tensor_1x2x4_i16.npy 2 | -------------------------------------------------------------------------------- /tests/images/npy/input1List_3D_u16.txt: -------------------------------------------------------------------------------- 1 | tests/images/npy/tensor_1x2x4_u16.npy 2 | 3 | -------------------------------------------------------------------------------- /tests/images/npy/input1List_4D.txt: -------------------------------------------------------------------------------- 1 | tests/images/npy/tensor_1x2x4x4_u8.npy 2 | -------------------------------------------------------------------------------- /tests/images/npy/input2List_3D.txt: -------------------------------------------------------------------------------- 1 | tests/images/npy/tensor_1x2x4_u8.npy 2 | -------------------------------------------------------------------------------- /tests/images/npy/input2List_3D_2.txt: -------------------------------------------------------------------------------- 1 | tests/images/npy/tensor_2x4x4_u8.npy 2 | -------------------------------------------------------------------------------- /tests/images/npy/input2List_3D_f32.txt: -------------------------------------------------------------------------------- 1 | tests/images/npy/tensor_1x2x4_f32.npy 2 | -------------------------------------------------------------------------------- /tests/images/npy/input2List_3D_f32_2.txt: -------------------------------------------------------------------------------- 1 | tests/images/npy/tensor_1x2x4_f32_2.npy 2 | -------------------------------------------------------------------------------- /tests/images/npy/input2List_3D_i16.txt: -------------------------------------------------------------------------------- 1 | tests/images/npy/tensor_1x2x4_i16_2.npy 2 | -------------------------------------------------------------------------------- /tests/images/npy/input2List_3D_u16.txt: -------------------------------------------------------------------------------- 1 | tests/images/npy/tensor_1x2x4_u16.npy 2 | 3 | -------------------------------------------------------------------------------- /tests/images/npy/input2List_4D.txt: -------------------------------------------------------------------------------- 1 | tests/images/npy/tensor_1x2x4x4_u8.npy 2 | -------------------------------------------------------------------------------- /tests/images/npy/tensor10_i64.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/npy/tensor10_i64.npy -------------------------------------------------------------------------------- /tests/images/npy/tensor16_i16.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/npy/tensor16_i16.npy -------------------------------------------------------------------------------- /tests/images/npy/tensor16_u16.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/npy/tensor16_u16.npy -------------------------------------------------------------------------------- /tests/images/npy/tensor1x2x3x8_u8.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/npy/tensor1x2x3x8_u8.npy -------------------------------------------------------------------------------- /tests/images/npy/tensor1x4x2x2_u8.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/npy/tensor1x4x2x2_u8.npy -------------------------------------------------------------------------------- /tests/images/npy/tensor1x4x2x2x3_f32.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/npy/tensor1x4x2x2x3_f32.npy -------------------------------------------------------------------------------- /tests/images/npy/tensor2x3x8_u8.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/npy/tensor2x3x8_u8.npy -------------------------------------------------------------------------------- /tests/images/npy/tensor3x16_u8.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/npy/tensor3x16_u8.npy -------------------------------------------------------------------------------- /tests/images/npy/tensor3x4x2_i8.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/npy/tensor3x4x2_i8.npy -------------------------------------------------------------------------------- /tests/images/npy/tensor3x4x2_u32.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/npy/tensor3x4x2_u32.npy -------------------------------------------------------------------------------- /tests/images/npy/tensor3x4x2_u8.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/npy/tensor3x4x2_u8.npy -------------------------------------------------------------------------------- /tests/images/npy/tensor3x4x2x2_i8.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/npy/tensor3x4x2x2_i8.npy -------------------------------------------------------------------------------- /tests/images/npy/tensor3x4x2x2_u16.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/npy/tensor3x4x2x2_u16.npy -------------------------------------------------------------------------------- /tests/images/npy/tensor3x4x2x2_u8.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/npy/tensor3x4x2x2_u8.npy -------------------------------------------------------------------------------- /tests/images/npy/tensor48_i8.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/npy/tensor48_i8.npy -------------------------------------------------------------------------------- /tests/images/npy/tensor48_u8.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/npy/tensor48_u8.npy -------------------------------------------------------------------------------- /tests/images/npy/tensor_1x2x4_f32.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/npy/tensor_1x2x4_f32.npy -------------------------------------------------------------------------------- /tests/images/npy/tensor_1x2x4_f32_2.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/npy/tensor_1x2x4_f32_2.npy -------------------------------------------------------------------------------- /tests/images/npy/tensor_1x2x4_i16.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/npy/tensor_1x2x4_i16.npy -------------------------------------------------------------------------------- /tests/images/npy/tensor_1x2x4_i16_2.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/npy/tensor_1x2x4_i16_2.npy -------------------------------------------------------------------------------- /tests/images/npy/tensor_1x2x4_u16.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/npy/tensor_1x2x4_u16.npy -------------------------------------------------------------------------------- /tests/images/npy/tensor_1x2x4_u8.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/npy/tensor_1x2x4_u8.npy -------------------------------------------------------------------------------- /tests/images/npy/tensor_1x2x4x4_u8.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/npy/tensor_1x2x4x4_u8.npy -------------------------------------------------------------------------------- /tests/images/npy/tensor_2x4x4_u8.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/npy/tensor_2x4x4_u8.npy -------------------------------------------------------------------------------- /tests/images/other/corrupt_dog.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/other/corrupt_dog.png -------------------------------------------------------------------------------- /tests/images/other/tensor_2x4x3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/other/tensor_2x4x3.png -------------------------------------------------------------------------------- /tests/images/other/vga_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/other/vga_image.png -------------------------------------------------------------------------------- /tests/images/ppm/cat_285.ppm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/images/ppm/cat_285.ppm -------------------------------------------------------------------------------- /tests/models/caffe2Models/4bit_fused_rowwise_quantized_sparse_lengths_sum_init_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "4bit_fused_rowwise_quantized_sparse_lengths_weighted_sum_init_net_test" 2 | op { 3 | output: "data" 4 | type: "GivenTensorByteStringToUInt8Fill" 5 | arg { 6 | name: "shape" 7 | ints: 3 8 | ints: 9 9 | } 10 | arg { 11 | name: "values" 12 | strings: "\000\000\000\000\000\000\000\000\100\000\000\000\000\000\000\000\000\277\000\000\000\000\000\000\000\120\101" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/4bit_fused_rowwise_quantized_sparse_lengths_sum_predict_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "4bit_fused_rowwise_quantized_sparse_lengths_sum_predict_net_test" 2 | op { 3 | input: "data" 4 | input: "indices" 5 | input: "lengths" 6 | output: "result" 7 | name: "" 8 | type: "SparseLengthsSumFused4BitRowwise" 9 | } 10 | external_input: "indices" 11 | external_input: "lengths" 12 | external_output: "result" 13 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/NCHW2NHWC_predict_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "NCHW2NHWC_test" 2 | op { 3 | input: "inputs" 4 | output: "output" 5 | type: "NCHW2NHWC" 6 | } 7 | external_output: "output" 8 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/alias_op_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "alias" 2 | op { 3 | input: "X" 4 | output: "Y" 5 | name: "" 6 | type: "Alias" 7 | } 8 | external_input: "X" 9 | external_output: "Y" 10 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/argmin.pbtxt: -------------------------------------------------------------------------------- 1 | name: "argmin" 2 | op { 3 | input: "input" 4 | output: "output" 5 | name: "" 6 | type: "ArgMin" 7 | arg { 8 | name: "axis" 9 | i: 1 10 | } 11 | arg { 12 | name: "keepdims" 13 | i: 0 14 | } 15 | } 16 | external_input: "input" 17 | external_output: "output" 18 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/avgpool_nhwc_predict_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "averagePool_test" 2 | op { 3 | input: "inputs" 4 | output: "output" 5 | type: "AveragePool" 6 | arg { 7 | name: "order" 8 | s: "NHWC" 9 | } 10 | arg { 11 | name: "kernel" 12 | i: 2 13 | } 14 | arg { 15 | name: "stride" 16 | i: 1 17 | } 18 | arg { 19 | name: "pad" 20 | i: 1 21 | } 22 | arg { 23 | name: "count_include_pad" 24 | i: 0 25 | } 26 | } 27 | external_output: "output" 28 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/avgpool_predict_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "averagePool_test" 2 | op { 3 | input: "inputs" 4 | output: "output" 5 | type: "AveragePool" 6 | arg { 7 | name: "kernel" 8 | i: 2 9 | } 10 | arg { 11 | name: "stride" 12 | i: 1 13 | } 14 | arg { 15 | name: "pad" 16 | i: 1 17 | } 18 | } 19 | external_output: "output" 20 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/batch_box_cox_predict_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "batch_box_cox" 2 | op { 3 | input: "data" 4 | input: "lambda1" 5 | input: "lambda2" 6 | output: "batch_box_cox" 7 | name: "" 8 | type: "BatchBoxCox" 9 | } 10 | external_input: "data" 11 | external_input: "lambda1" 12 | external_input: "lambda2" 13 | external_output: "batch_box_cox" 14 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/batch_sparse_to_dense_last_dim_1.pbtxt: -------------------------------------------------------------------------------- 1 | name: "batchSparseToDense" 2 | op { 3 | input: "lengths" 4 | input: "indices" 5 | input: "values" 6 | output: "output" 7 | name: "" 8 | type: "BatchSparseToDense" 9 | arg { 10 | name: "dense_last_dim" 11 | i: 1 12 | } 13 | arg { 14 | name: "default_value" 15 | f: 0 16 | } 17 | } 18 | external_input: "lengths" 19 | external_input: "indices" 20 | external_input: "values" 21 | external_output: "output" 22 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/batched_matmul.pbtxt: -------------------------------------------------------------------------------- 1 | name: "batched_matmul" 2 | op { 3 | input: "lhs" 4 | input: "rhs" 5 | output: "result" 6 | name: "" 7 | type: "BatchMatMul" 8 | } 9 | external_input: "lhs" 10 | external_input: "rhs" 11 | external_output: "result" 12 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/bucketize_op_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "bucketize" 2 | op { 3 | type: "Bucketize" 4 | input: "input_0" 5 | output: "bucketize_test_output" 6 | arg { 7 | name: "boundaries" 8 | floats: 0.1 9 | floats: 2.5 10 | } 11 | } 12 | external_input: "input_0" 13 | external_output: "bucketize_test_output" 14 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/cast_int64_to_int64.pbtxt: -------------------------------------------------------------------------------- 1 | name: "cast_int64_to_int64" 2 | op { 3 | input: "input" 4 | output: "output" 5 | name: "" 6 | type: "Cast" 7 | arg { 8 | name: "to" 9 | i: 10 10 | } 11 | } 12 | external_input: "input" 13 | external_output: "output" 14 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/clip_op_default_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "clip" 2 | op { 3 | input: "inputs_0" 4 | output: "clip_result" 5 | name: "" 6 | type: "Clip" 7 | } 8 | external_input: "inputs_0" 9 | external_output: "clip_result" 10 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/clip_op_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "clip" 2 | op { 3 | input: "inputs_0" 4 | output: "clip_result" 5 | name: "" 6 | type: "Clip" 7 | arg { 8 | name: "min" 9 | f: 20.0 10 | } 11 | arg { 12 | name: "max" 13 | f: 60.0 14 | } 15 | } 16 | external_input: "inputs_0" 17 | external_output: "clip_result" 18 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/concat_add_axis_at_edge.pbtxt: -------------------------------------------------------------------------------- 1 | name: "concat_add_axis_at_edge" 2 | op { 3 | input: "inputs_0" 4 | input: "inputs_1" 5 | input: "inputs_2" 6 | output: "concat_result" 7 | output: "split_info" 8 | name: "" 9 | type: "Concat" 10 | arg { 11 | name: "add_axis" 12 | i: 1 13 | } 14 | arg { 15 | name: "axis" 16 | i: 4 17 | } 18 | } 19 | external_input: "inputs_0" 20 | external_input: "inputs_1" 21 | external_input: "inputs_2" 22 | external_output: "concat_result" 23 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/concat_add_axis_predict_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "concatx3add_axis" 2 | op { 3 | input: "inputs_0" 4 | input: "inputs_1" 5 | input: "inputs_2" 6 | output: "concat_result" 7 | output: "split_info" 8 | name: "" 9 | type: "Concat" 10 | arg { 11 | name: "add_axis" 12 | i: 1 13 | } 14 | arg { 15 | name: "axis" 16 | i: 1 17 | } 18 | } 19 | external_input: "inputs_0" 20 | external_input: "inputs_1" 21 | external_input: "inputs_2" 22 | external_output: "concat_result" 23 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/concat_predict_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "concatx3" 2 | op { 3 | input: "inputs_0" 4 | input: "inputs_1" 5 | input: "inputs_2" 6 | output: "concat_result" 7 | output: "split_info" 8 | name: "" 9 | type: "Concat" 10 | arg { 11 | name: "add_axis" 12 | i: 0 13 | } 14 | arg { 15 | name: "axis" 16 | i: 1 17 | } 18 | } 19 | external_input: "inputs_0" 20 | external_input: "inputs_1" 21 | external_input: "inputs_2" 22 | external_output: "concat_result" 23 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/constant_fill_input_as_shape.pbtxt: -------------------------------------------------------------------------------- 1 | name: "constant_fill_input_as_shape" 2 | op { 3 | input: "inputs_0" 4 | output: "result" 5 | name: "" 6 | type: "ConstantFill" 7 | arg { 8 | name: "value" 9 | f: 3.0 10 | } 11 | arg { 12 | name: "input_as_shape" 13 | i: 1 14 | } 15 | } 16 | external_input: "inputs_0" 17 | external_output: "result" 18 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/constant_fill_input_as_shape_init.pbtxt: -------------------------------------------------------------------------------- 1 | name: "init" 2 | op { 3 | output: "inputs_0" 4 | type: "GivenTensorInt64Fill" 5 | arg { 6 | name: "shape" 7 | ints: 4 8 | } 9 | arg { 10 | name: "values" 11 | ints: 17 12 | ints: 23 13 | ints: 29 14 | ints: 31 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/constant_fill_use_input_shape.pbtxt: -------------------------------------------------------------------------------- 1 | name: "constant_fill_use_input_shape" 2 | op { 3 | input: "inputs_0" 4 | output: "result" 5 | name: "" 6 | type: "ConstantFill" 7 | arg { 8 | name: "value" 9 | f: 3.0 10 | } 11 | } 12 | external_input: "inputs_0" 13 | external_output: "result" 14 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/constant_fill_use_provided_shape.pbtxt: -------------------------------------------------------------------------------- 1 | name: "constant_fill_use_provided_shape" 2 | op { 3 | output: "result" 4 | name: "" 5 | type: "ConstantFill" 6 | arg { 7 | name: "value" 8 | f: 3.0 9 | } 10 | arg { 11 | name: "shape" 12 | ints: 7 13 | ints: 11 14 | ints: 13 15 | ints: 17 16 | } 17 | } 18 | external_output: "result" 19 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/conv_group_quantized_pred_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "conv_group_quantized_test" 2 | op { 3 | input: "input" 4 | input: "conv_w" 5 | input: "conv_b" 6 | output: "conv_out" 7 | type: "Int8Conv" 8 | arg { 9 | name: "kernel" 10 | i: 1 11 | } 12 | arg { 13 | name: "group" 14 | i: 2 15 | } 16 | arg { 17 | name: "stride" 18 | i: 1 19 | } 20 | arg { 21 | name: "pad" 22 | i: 1 23 | } 24 | arg { 25 | name: "order" 26 | s: "NHWC" 27 | } 28 | arg { 29 | name: "Y_scale" 30 | f: 3.14 31 | } 32 | arg { 33 | name: "Y_zero_point" 34 | i: 5 35 | } 36 | arg { 37 | name: "quantize_groupwise" 38 | i: 1 39 | } 40 | } 41 | external_output: "conv_out" 42 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/conv_nhwc_init_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "init" 2 | op { 3 | output: "conv_w" 4 | type: "GivenTensorFill" 5 | arg { 6 | name: "shape" 7 | ints: 1 8 | ints: 1 9 | ints: 2 10 | ints: 2 11 | } 12 | arg { 13 | name: "values" 14 | floats: 1.0 15 | floats: 1.0 16 | floats: 1.0 17 | floats: 1.0 18 | } 19 | } 20 | op { 21 | output: "conv_b" 22 | type: "GivenTensorFill" 23 | arg { 24 | name: "shape" 25 | ints: 1 26 | } 27 | arg { 28 | name: "values" 29 | floats: 2.0 30 | } 31 | } 32 | 33 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/conv_nhwc_predict_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "conv_test" 2 | op { 3 | input: "inputs" 4 | input: "conv_w" 5 | input: "conv_b" 6 | output: "conv_out" 7 | type: "Conv" 8 | arg { 9 | name: "order" 10 | s: "NHWC" 11 | } 12 | arg { 13 | name: "kernel" 14 | i: 2 15 | } 16 | arg { 17 | name: "stride" 18 | i: 1 19 | } 20 | arg { 21 | name: "group" 22 | i: 1 23 | } 24 | arg { 25 | name: "pad" 26 | i: 1 27 | } 28 | arg { 29 | name: "dilation" 30 | i: 1 31 | } 32 | } 33 | external_output: "conv_out" 34 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/convrelu_init_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "init" 2 | op { 3 | output: "conv_w" 4 | type: "GivenTensorFill" 5 | arg { 6 | name: "shape" 7 | ints: 1 8 | ints: 1 9 | ints: 2 10 | ints: 2 11 | } 12 | arg { 13 | name: "values" 14 | floats: 1.0 15 | floats: 1.0 16 | floats: 1.0 17 | floats: 1.0 18 | } 19 | } 20 | op { 21 | output: "conv_b" 22 | type: "GivenTensorFill" 23 | arg { 24 | name: "shape" 25 | ints: 1 26 | } 27 | arg { 28 | name: "values" 29 | floats: 2.0 30 | } 31 | } 32 | 33 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/convrelu_pred_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "conv_test" 2 | op { 3 | input: "gpu_0/data_0" 4 | input: "conv_w" 5 | input: "conv_b" 6 | output: "conv_out" 7 | type: "ConvRelu" 8 | arg { 9 | name: "kernel" 10 | i: 2 11 | } 12 | arg { 13 | name: "stride" 14 | i: 1 15 | } 16 | arg { 17 | name: "group" 18 | i: 1 19 | } 20 | arg { 21 | name: "pad" 22 | i: 1 23 | } 24 | arg { 25 | name: "dilation" 26 | i: 1 27 | } 28 | } 29 | external_output: "conv_out" 30 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/convtranspose.pbtxt: -------------------------------------------------------------------------------- 1 | name: "convTranspose_test" 2 | op { 3 | input: "gpu_0/data_0" 4 | input: "convTranspose_w" 5 | input: "convTranspose_b" 6 | output: "convTranspose_out" 7 | type: "ConvTranspose" 8 | arg { 9 | name: "kernel" 10 | i: 3 11 | } 12 | arg { 13 | name: "stride" 14 | i: 1 15 | } 16 | arg { 17 | name: "group" 18 | i: 1 19 | } 20 | arg { 21 | name: "pad" 22 | i: 0 23 | } 24 | } 25 | external_output: "convTranspose_out" 26 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/convtranspose_init.pbtxt: -------------------------------------------------------------------------------- 1 | name: "init" 2 | op { 3 | output: "convTranspose_w" 4 | type: "GivenTensorFill" 5 | arg { 6 | name: "shape" 7 | ints: 1 8 | ints: 1 9 | ints: 3 10 | ints: 3 11 | } 12 | arg { 13 | name: "values" 14 | floats: 2.0 15 | floats: 3.0 16 | floats: 4.0 17 | floats: 5.0 18 | floats: 6.0 19 | floats: 7.0 20 | floats: 8.0 21 | floats: 9.0 22 | floats: 10.0 23 | } 24 | } 25 | op { 26 | output: "convTranspose_b" 27 | type: "GivenTensorFill" 28 | arg { 29 | name: "shape" 30 | ints: 1 31 | } 32 | arg { 33 | name: "values" 34 | floats: 1. 35 | } 36 | } 37 | 38 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/convtranspose_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "convTranspose_test" 2 | op { 3 | input: "gpu_0/data_0" 4 | input: "convTranspose_w" 5 | input: "convTranspose_b" 6 | output: "convTranspose_out" 7 | type: "ConvTranspose" 8 | arg { 9 | name: "kernel" 10 | i: 2 11 | } 12 | arg { 13 | name: "stride" 14 | i: 1 15 | } 16 | arg { 17 | name: "group" 18 | i: 1 19 | } 20 | arg { 21 | name: "pad" 22 | i: 1 23 | } 24 | } 25 | external_output: "convTranspose_out" 26 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/convtranspose_nhwc.pbtxt: -------------------------------------------------------------------------------- 1 | name: "convTranspose_test" 2 | op { 3 | input: "inputs" 4 | input: "convTranspose_w" 5 | input: "convTranspose_b" 6 | output: "convTranspose_out" 7 | type: "ConvTranspose" 8 | arg { 9 | name: "order" 10 | s: "NHWC" 11 | } 12 | arg { 13 | name: "kernel" 14 | i: 3 15 | } 16 | arg { 17 | name: "stride" 18 | i: 1 19 | } 20 | arg { 21 | name: "group" 22 | i: 1 23 | } 24 | arg { 25 | name: "pad" 26 | i: 1 27 | } 28 | } 29 | external_output: "convTranspose_out" 30 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/convtranspose_nhwc_init.pbtxt: -------------------------------------------------------------------------------- 1 | name: "init" 2 | op { 3 | output: "convTranspose_w" 4 | type: "GivenTensorFill" 5 | arg { 6 | name: "shape" 7 | ints: 1 8 | ints: 1 9 | ints: 3 10 | ints: 3 11 | } 12 | arg { 13 | name: "values" 14 | floats: 2.0 15 | floats: 3.0 16 | floats: 4.0 17 | floats: 5.0 18 | floats: 6.0 19 | floats: 7.0 20 | floats: 8.0 21 | floats: 9.0 22 | floats: 10.0 23 | } 24 | } 25 | op { 26 | output: "convTranspose_b" 27 | type: "GivenTensorFill" 28 | arg { 29 | name: "shape" 30 | ints: 1 31 | } 32 | arg { 33 | name: "values" 34 | floats: 1. 35 | } 36 | } 37 | 38 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/convtranspose_pads.pbtxt: -------------------------------------------------------------------------------- 1 | name: "conv_test" 2 | op { 3 | input: "gpu_0/data_0" 4 | input: "convTranspose_w" 5 | input: "convTranspose_b" 6 | output: "convTranspose_out" 7 | type: "ConvTranspose" 8 | arg { 9 | name: "kernel" 10 | i: 3 11 | } 12 | arg { 13 | name: "stride" 14 | i: 1 15 | } 16 | arg { 17 | name: "group" 18 | i: 1 19 | } 20 | arg { 21 | name: "pad" 22 | i: 1 23 | } 24 | } 25 | external_output: "convTranspose_out" 26 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/dot_product_predict_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "dot_product" 2 | op { 3 | input: "X" 4 | input: "Y" 5 | output: "dot_product" 6 | name: "" 7 | type: "DotProduct" 8 | } 9 | external_input: "X" 10 | external_input: "Y" 11 | external_output: "dot_product" 12 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/dropout.pbtxt: -------------------------------------------------------------------------------- 1 | name: "dropout" 2 | op { 3 | input: "input" 4 | output: "output" 5 | name: "" 6 | type: "Dropout" 7 | } 8 | external_input: "input" 9 | external_output: "output" 10 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/dynamic_quantized_fc_init.pbtxt: -------------------------------------------------------------------------------- 1 | name: "init" 2 | op { 3 | output: "weights" 4 | type: "Int8GivenTensorFill" 5 | arg { 6 | name: "shape" 7 | ints: 4 8 | ints: 3 9 | } 10 | arg { 11 | name: "values" 12 | s: "\x0\x1\x2\x3\x4\x5\x6\x7\x8\x9\xa\xb" 13 | } 14 | arg { 15 | name: "Y_scale" 16 | f: 1 17 | } 18 | arg { 19 | name: "Y_zero_point" 20 | i: 0 21 | } 22 | } 23 | op { 24 | output: "bias" 25 | name: "" 26 | type: "GivenTensorFill" 27 | arg { 28 | name: "shape" 29 | ints: 4 30 | } 31 | arg { 32 | name: "values" 33 | floats: 0 34 | floats: 1 35 | floats: 2 36 | floats: 3 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/dynamic_quantized_fc_predict_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "int8_fc_dequantized" 2 | op { 3 | input: "input" 4 | input: "weights" 5 | input: "bias" 6 | output: "output" 7 | name: "" 8 | type: "Int8FC" 9 | arg { 10 | name: "axis" 11 | i: 1 12 | } 13 | arg { 14 | name: "Y_scale" 15 | f: 1 16 | } 17 | arg { 18 | name: "Y_zero_point" 19 | i: 0 20 | } 21 | arg { 22 | name: "dequantize_output" 23 | i: 1 24 | } 25 | } 26 | external_input: "input" 27 | external_input: "weights" 28 | external_input: "bias" 29 | external_output: "output" 30 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/elementwise_linear_broadcast_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "elementwise_linear" 2 | op { 3 | input: "X" 4 | input: "w" 5 | output: "i0" 6 | name: "" 7 | type: "Mul" 8 | arg { 9 | name: "axis" 10 | i: 1 11 | } 12 | arg { 13 | name: "broadcast" 14 | i: 0 15 | } 16 | } 17 | op { 18 | input: "i0" 19 | input: "b" 20 | output: "el_result" 21 | name: "" 22 | type: "Add" 23 | arg { 24 | name: "axis" 25 | i: 1 26 | } 27 | arg { 28 | name: "broadcast" 29 | i: 0 30 | } 31 | } 32 | external_input: "X" 33 | external_input: "w" 34 | external_input: "b" 35 | external_output: "el_result" 36 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/elementwise_linear_default_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "elementwise_linear" 2 | op { 3 | input: "X" 4 | input: "w" 5 | input: "b" 6 | output: "el_result" 7 | name: "" 8 | type: "ElementwiseLinear" 9 | } 10 | external_input: "X" 11 | external_input: "w" 12 | external_input: "b" 13 | external_output: "el_result" 14 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/elementwise_linear_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "elementwise_linear" 2 | op { 3 | input: "X" 4 | input: "w" 5 | input: "b" 6 | output: "el_result" 7 | name: "" 8 | type: "ElementwiseLinear" 9 | arg { 10 | name: "axis" 11 | i: 0 12 | } 13 | } 14 | external_input: "X" 15 | external_input: "w" 16 | external_input: "b" 17 | external_output: "el_result" 18 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/empty_init_net.pbtxt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/caffe2Models/empty_init_net.pbtxt -------------------------------------------------------------------------------- /tests/models/caffe2Models/empty_predict_net.pbtxt: -------------------------------------------------------------------------------- 1 | external_output: "unused_output" 2 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/eq_op_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "eq" 2 | op { 3 | input: "X" 4 | input: "Y" 5 | output: "eq" 6 | name: "" 7 | type: "EQ" 8 | } 9 | external_input: "X" 10 | external_input: "Y" 11 | external_output: "eq" 12 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/exp_op_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "expcaffe2Test" 2 | op { 3 | input: "data" 4 | output: "result" 5 | name: "exp" 6 | type: "Exp" 7 | } 8 | external_input: "data" 9 | external_output: "result" 10 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/fbfcpacked_3d_second_axis_predict.pbtxt: -------------------------------------------------------------------------------- 1 | name: "fb_fc_packed_3d" 2 | op { 3 | input: "input" 4 | input: "weights" 5 | input: "bias" 6 | output: "output" 7 | name: "" 8 | type: "FbFCPacked" 9 | arg { 10 | name: "axis" 11 | i: 2 12 | } 13 | } 14 | external_input: "input" 15 | external_input: "weights" 16 | external_input: "bias" 17 | external_output: "output" 18 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/fbfcpacked_4d_first_axis_init_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "init" 2 | op { 3 | output: "weights" 4 | type: "GivenTensorFp16Fill" 5 | arg { 6 | name: "shape" 7 | ints: 3 8 | ints: 5 9 | } 10 | arg { 11 | name: "values" 12 | floats: 0 13 | floats: 1 14 | floats: 2 15 | floats: 3 16 | floats: 4 17 | floats: 5 18 | floats: 6 19 | floats: 7 20 | floats: 8 21 | floats: 9 22 | floats: 10 23 | floats: 11 24 | floats: 12 25 | floats: 13 26 | floats: 14 27 | } 28 | } 29 | op { 30 | output: "bias" 31 | type: "GivenTensorFill" 32 | arg { 33 | name: "shape" 34 | ints: 3 35 | } 36 | arg { 37 | name: "values" 38 | floats: 0 39 | floats: 1 40 | floats: 2 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/fbfcpacked_4d_first_axis_predict_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "fbfcpacked_4d" 2 | op { 3 | input: "input" 4 | input: "weights" 5 | input: "bias" 6 | output: "output" 7 | name: "" 8 | type: "FbFCPacked" 9 | arg { 10 | name: "axis" 11 | i: 1 12 | } 13 | } 14 | external_input: "input" 15 | external_input: "weights" 16 | external_input: "bias" 17 | external_output: "output" 18 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/fcTransposed_4d_init_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "init" 2 | op { 3 | output: "weights" 4 | type: "ConstantFill" 5 | arg { 6 | name: "shape" 7 | ints: 2048 8 | ints: 9190 9 | } 10 | } 11 | op { 12 | output: "bias" 13 | type: "ConstantFill" 14 | arg { 15 | name: "shape" 16 | ints: 9190 17 | } 18 | } 19 | 20 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/fcTransposed_4d_predict_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "fc" 2 | op { 3 | input: "inputs" 4 | input: "weights" 5 | input: "bias" 6 | output: "fc_result" 7 | name: "" 8 | type: "FCTransposed" 9 | arg { 10 | name: "axis" 11 | i: 3 12 | } 13 | } 14 | external_input: "inputs" 15 | external_input: "weights" 16 | external_input: "bias" 17 | external_output: "fc_result" 18 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/fcTransposed_init_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "init" 2 | op { 3 | output: "weights" 4 | type: "GivenTensorFill" 5 | arg { 6 | name: "shape" 7 | ints: 3 8 | ints: 4 9 | } 10 | arg { 11 | name: "values" 12 | floats: 1.0 13 | floats: 4.0 14 | floats: 7.0 15 | floats: 10.0 16 | floats: 2.0 17 | floats: 5.0 18 | floats: 8.0 19 | floats: 11.0 20 | floats: 3.0 21 | floats: 6.0 22 | floats: 9.0 23 | floats: 12.0 24 | } 25 | } 26 | op { 27 | output: "bias" 28 | type: "GivenTensorFill" 29 | arg { 30 | name: "shape" 31 | ints: 4 32 | } 33 | arg { 34 | name: "values" 35 | floats: 0.1 36 | floats: 0.2 37 | floats: 0.3 38 | floats: 0.4 39 | } 40 | } 41 | 42 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/fcTransposed_predict_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "fc" 2 | op { 3 | input: "inputs" 4 | input: "weights" 5 | input: "bias" 6 | output: "fc_result" 7 | name: "" 8 | type: "FCTransposed" 9 | } 10 | external_input: "inputs" 11 | external_input: "weights" 12 | external_input: "bias" 13 | external_output: "fc_result" 14 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/fc_3d_second_axis_predict.pbtxt: -------------------------------------------------------------------------------- 1 | name: "fc_3d" 2 | op { 3 | input: "input" 4 | input: "weights" 5 | input: "bias" 6 | output: "output" 7 | name: "" 8 | type: "FC" 9 | arg { 10 | name: "axis" 11 | i: 2 12 | } 13 | } 14 | external_input: "input" 15 | external_input: "weights" 16 | external_input: "bias" 17 | external_output: "output" 18 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/fc_4d_first_axis_init_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "init" 2 | op { 3 | output: "weights" 4 | type: "ConstantFill" 5 | arg { 6 | name: "shape" 7 | ints: 3 8 | ints: 5 9 | } 10 | } 11 | op { 12 | output: "bias" 13 | type: "ConstantFill" 14 | arg { 15 | name: "shape" 16 | ints: 3 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/fc_4d_first_axis_predict_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "fc" 2 | op { 3 | input: "inputs" 4 | input: "weights" 5 | input: "bias" 6 | output: "fc_result" 7 | name: "" 8 | type: "FC" 9 | arg { 10 | name: "axis" 11 | i: 1 12 | } 13 | } 14 | external_input: "inputs" 15 | external_input: "weights" 16 | external_input: "bias" 17 | external_output: "fc_result" 18 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/fc_4d_init_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "init" 2 | op { 3 | output: "weights" 4 | type: "ConstantFill" 5 | arg { 6 | name: "shape" 7 | ints: 9190 8 | ints: 2048 9 | } 10 | } 11 | op { 12 | output: "bias" 13 | type: "ConstantFill" 14 | arg { 15 | name: "shape" 16 | ints: 9190 17 | } 18 | } 19 | 20 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/fc_4d_predict_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "fc" 2 | op { 3 | input: "inputs" 4 | input: "weights" 5 | input: "bias" 6 | output: "fc_result" 7 | name: "" 8 | type: "FC" 9 | arg { 10 | name: "axis" 11 | i: 3 12 | } 13 | } 14 | external_input: "inputs" 15 | external_input: "weights" 16 | external_input: "bias" 17 | external_output: "fc_result" 18 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/fc_init_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "init" 2 | op { 3 | output: "weights" 4 | type: "GivenTensorFill" 5 | arg { 6 | name: "shape" 7 | ints: 4 8 | ints: 3 9 | } 10 | arg { 11 | name: "values" 12 | floats: 1.0 13 | floats: 2.0 14 | floats: 3.0 15 | floats: 4.0 16 | floats: 5.0 17 | floats: 6.0 18 | floats: 7.0 19 | floats: 8.0 20 | floats: 9.0 21 | floats: 10.0 22 | floats: 11.0 23 | floats: 12.0 24 | } 25 | } 26 | op { 27 | output: "bias" 28 | type: "GivenTensorFill" 29 | arg { 30 | name: "shape" 31 | ints: 4 32 | } 33 | arg { 34 | name: "values" 35 | floats: 0.1 36 | floats: 0.2 37 | floats: 0.3 38 | floats: 0.4 39 | } 40 | } 41 | 42 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/fc_predict_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "fc" 2 | op { 3 | input: "inputs" 4 | input: "weights" 5 | input: "bias" 6 | output: "fc_result" 7 | name: "" 8 | type: "FC" 9 | } 10 | external_input: "inputs" 11 | external_input: "weights" 12 | external_input: "bias" 13 | external_output: "fc_result" 14 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/fill_examples_with_indicator.pbtxt: -------------------------------------------------------------------------------- 1 | name: "fill_examples_with_indicator" 2 | op { 3 | input: "data" 4 | input: "indicator" 5 | output: "output" 6 | name: "" 7 | type: "FillExamplesWithIndicator" 8 | } 9 | external_input: "data" 10 | external_input: "indicator" 11 | external_output: "output" 12 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/fused_rowwise_quantized_sparse_lengths_sum_init_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "fused_rowwise_quantized_sparse_lengths_sum_init_net_test" 2 | op { 3 | output: "data" 4 | type: "GivenTensorByteStringToUInt8Fill" 5 | arg { 6 | name: "shape" 7 | ints: 3 8 | ints: 10 9 | } 10 | arg { 11 | name: "values" 12 | strings: "\000\377\152\232\115\072\000\000\200\077\000\377\050\132\215\073\063\063\023\100\000\377\314\063\232\073\000\000\220\100" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/fused_rowwise_quantized_sparse_lengths_sum_predict_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "fused_rowwise_quantized_sparse_lengths_sum_predict_net_test" 2 | op { 3 | input: "data" 4 | input: "indices" 5 | input: "lengths" 6 | output: "result" 7 | name: "" 8 | type: "SparseLengthsSumFused8BitRowwise" 9 | } 10 | external_input: "indices" 11 | external_input: "lengths" 12 | external_output: "result" 13 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/fused_rowwise_quantized_sparse_lengths_sum_predict_net_length1.pbtxt: -------------------------------------------------------------------------------- 1 | name: "fused_rowwise_quantized_sparse_lengths_sum_predict_net_test" 2 | op { 3 | input: "data" 4 | input: "indices" 5 | input: "lengths" 6 | output: "result" 7 | name: "" 8 | type: "SparseLengthsSumFused8BitRowwise" 9 | arg { 10 | name: "length1" 11 | i: 1 12 | } 13 | } 14 | external_input: "indices" 15 | external_input: "lengths" 16 | external_output: "result" 17 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/fused_rowwise_quantized_sparse_lengths_weighted_sum_avg_length_predict_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "fused_rowwise_quantized_sparse_lengths_weighted_sum_predict_net_test" 2 | op { 3 | input: "data" 4 | input: "weights" 5 | input: "indices" 6 | input: "lengths" 7 | output: "result" 8 | name: "" 9 | type: "SparseLengthsWeightedSumFused8BitRowwise" 10 | arg { 11 | name: "average_lookup_length" 12 | f: 5.0 13 | } 14 | } 15 | external_input: "data" 16 | external_input: "weights" 17 | external_input: "indices" 18 | external_input: "lengths" 19 | external_output: "result" 20 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/fused_rowwise_quantized_sparse_lengths_weighted_sum_predict_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "fused_rowwise_quantized_sparse_lengths_weighted_sum_predict_net_test" 2 | op { 3 | input: "data" 4 | input: "weights" 5 | input: "indices" 6 | input: "lengths" 7 | output: "result" 8 | name: "" 9 | type: "SparseLengthsWeightedSumFused8BitRowwise" 10 | } 11 | external_input: "data" 12 | external_input: "weights" 13 | external_input: "indices" 14 | external_input: "lengths" 15 | external_output: "result" 16 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/gather_const_fold.pbtxt: -------------------------------------------------------------------------------- 1 | name: "gatherConstantFolding" 2 | op { 3 | input: "data" 4 | output: "shape_x" 5 | name: "shape_x" 6 | type: "Shape" 7 | } 8 | op { 9 | input: "shape_x" 10 | input: "index" 11 | output: "gather_x" 12 | name: "gather_x" 13 | type: "Gather" 14 | } 15 | op { 16 | input: "data" 17 | input: "gather_x" 18 | output: "result" 19 | name: "result" 20 | type: "Reshape" 21 | } 22 | external_input: "data" 23 | external_input: "index" 24 | external_output: "result" 25 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/gather_const_fold_init.pbtxt: -------------------------------------------------------------------------------- 1 | name: "init" 2 | op { 3 | output: "index" 4 | type: "GivenTensorIntFill" 5 | arg { 6 | name: "shape" 7 | ints: 4 8 | } 9 | arg { 10 | name: "values" 11 | ints: 0 12 | ints: 2 13 | ints: 3 14 | ints: 1 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/gather_ranges.pbtxt: -------------------------------------------------------------------------------- 1 | name: "gatherRanges" 2 | op { 3 | input: "data" 4 | input: "ranges" 5 | output: "output" 6 | output: "lengths" 7 | arg { 8 | name: "maxOutputSize" 9 | i: 5 10 | } 11 | name: "" 12 | type: "GatherRanges" 13 | } 14 | external_input: "data" 15 | external_input: "ranges" 16 | external_output: "output" 17 | external_output: "lengths" 18 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/gaussian_fill_input_as_shape.pbtxt: -------------------------------------------------------------------------------- 1 | name: "gaussian_fill_input_as_shape" 2 | op { 3 | input: "inputs_0" 4 | output: "result" 5 | name: "" 6 | type: "GaussianFill" 7 | arg { 8 | name: "mean" 9 | f: 0.0 10 | } 11 | arg { 12 | name: "std" 13 | f: 1.0 14 | } 15 | arg { 16 | name: "input_as_shape" 17 | i: 1 18 | } 19 | } 20 | external_input: "inputs_0" 21 | external_output: "result" 22 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/gaussian_fill_input_as_shape_init.pbtxt: -------------------------------------------------------------------------------- 1 | name: "init" 2 | op { 3 | output: "inputs_0" 4 | type: "GivenTensorInt64Fill" 5 | arg { 6 | name: "shape" 7 | ints: 4 8 | } 9 | arg { 10 | name: "values" 11 | ints: 4 12 | ints: 5 13 | ints: 6 14 | ints: 7 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/gaussian_fill_use_input_shape.pbtxt: -------------------------------------------------------------------------------- 1 | name: "gaussian_fill_use_input_shape" 2 | op { 3 | input: "inputs_0" 4 | output: "result" 5 | name: "" 6 | type: "GaussianFill" 7 | arg { 8 | name: "mean" 9 | f: 0.0 10 | } 11 | arg { 12 | name: "std" 13 | f: 1.0 14 | } 15 | } 16 | external_input: "inputs_0" 17 | external_output: "result" 18 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/gaussian_fill_use_input_shape_with_extra_shape.pbtxt: -------------------------------------------------------------------------------- 1 | name: "gaussian_fill_use_input_shape_with_extra_shape" 2 | op { 3 | input: "inputs_0" 4 | output: "result" 5 | name: "" 6 | type: "GaussianFill" 7 | arg { 8 | name: "mean" 9 | f: 0.0 10 | } 11 | arg { 12 | name: "std" 13 | f: 1.0 14 | } 15 | arg { 16 | name: "extra_shape" 17 | ints: 2 18 | ints: 3 19 | } 20 | } 21 | external_input: "inputs_0" 22 | external_output: "result" 23 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/gaussian_fill_use_provided_shape.pbtxt: -------------------------------------------------------------------------------- 1 | name: "gaussian_fill_use_provided_shape" 2 | op { 3 | output: "result" 4 | name: "" 5 | type: "GaussianFill" 6 | arg { 7 | name: "mean" 8 | f: 0.0 9 | } 10 | arg { 11 | name: "std" 12 | f: 1.0 13 | } 14 | arg { 15 | name: "shape" 16 | ints: 4 17 | ints: 5 18 | ints: 6 19 | ints: 7 20 | } 21 | } 22 | external_output: "result" 23 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/gelu.pbtxt: -------------------------------------------------------------------------------- 1 | name: "gelu" 2 | op { 3 | input: "input" 4 | output: "output" 5 | name: "" 6 | type: "Gelu" 7 | } 8 | external_input: "input" 9 | external_output: "output" 10 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/halftofloat_op_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "alias" 2 | op { 3 | input: "X" 4 | output: "Y" 5 | name: "" 6 | type: "HalfToFloat" 7 | } 8 | external_input: "X" 9 | external_output: "Y" 10 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/init_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "init" 2 | op { 3 | output: "conv_w" 4 | type: "GivenTensorFill" 5 | arg { 6 | name: "shape" 7 | ints: 1 8 | ints: 1 9 | ints: 2 10 | ints: 2 11 | } 12 | arg { 13 | name: "values" 14 | floats: 1.0 15 | floats: 1.0 16 | floats: 1.0 17 | floats: 1.0 18 | } 19 | } 20 | op { 21 | output: "conv_b" 22 | type: "GivenTensorFill" 23 | arg { 24 | name: "shape" 25 | ints: 1 26 | } 27 | arg { 28 | name: "values" 29 | floats: 2.0 30 | } 31 | } 32 | 33 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/int8convrelu_init_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "init" 2 | op { 3 | output: "conv_w" 4 | type: "Int8GivenTensorFill" 5 | arg { 6 | name: "shape" 7 | ints: 1 8 | ints: 1 9 | ints: 2 10 | ints: 2 11 | } 12 | arg { 13 | name: "values" 14 | s: "\1\1\1\1" 15 | } 16 | arg { 17 | name: "Y_scale" 18 | f: 2 19 | } 20 | arg { 21 | name: "Y_zero_point" 22 | i: 10 23 | } 24 | } 25 | op { 26 | output: "conv_b" 27 | type: "Int8GivenIntTensorFill" 28 | arg { 29 | name: "shape" 30 | ints: 1 31 | } 32 | arg { 33 | name: "values" 34 | ints: 2 35 | } 36 | arg { 37 | name: "Y_scale" 38 | f: 10 39 | } 40 | arg { 41 | name: "Y_zero_point" 42 | i: 4 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/int8convrelu_pred_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "conv_test" 2 | op { 3 | input: "gpu_0/data_0" 4 | input: "conv_w" 5 | input: "conv_b" 6 | output: "conv_out" 7 | type: "Int8ConvRelu" 8 | arg { 9 | name: "kernel" 10 | i: 2 11 | } 12 | arg { 13 | name: "stride" 14 | i: 1 15 | } 16 | arg { 17 | name: "group" 18 | i: 1 19 | } 20 | arg { 21 | name: "pad" 22 | i: 1 23 | } 24 | arg { 25 | name: "dilation" 26 | i: 1 27 | } 28 | arg { 29 | name: "Y_scale" 30 | f: 1.5 31 | } 32 | arg { 33 | name: "Y_zero_point" 34 | i: 7 35 | } 36 | } 37 | external_output: "conv_out" 38 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/int8fc_3d_second_axis_init.pbtxt: -------------------------------------------------------------------------------- 1 | name: "init" 2 | op { 3 | output: "weights" 4 | type: "Int8GivenTensorFill" 5 | arg { 6 | name: "shape" 7 | ints: 2 8 | ints: 3 9 | } 10 | arg { 11 | name: "values" 12 | s: "\x0\x1\x2\x3\x4\x5" 13 | } 14 | arg { 15 | name: "Y_scale" 16 | f: 1 17 | } 18 | arg { 19 | name: "Y_zero_point" 20 | i: 0 21 | } 22 | } 23 | op { 24 | output: "bias" 25 | type: "Int8GivenTensorFill" 26 | arg { 27 | name: "shape" 28 | ints: 2 29 | } 30 | arg { 31 | name: "values" 32 | s: "\x0\x1" 33 | } 34 | arg { 35 | name: "Y_scale" 36 | f: 1 37 | } 38 | arg { 39 | name: "Y_zero_point" 40 | i: 0 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/int8fc_3d_second_axis_predict.pbtxt: -------------------------------------------------------------------------------- 1 | name: "int8_fc_3d" 2 | op { 3 | input: "input" 4 | input: "weights" 5 | input: "bias" 6 | output: "output_q" 7 | name: "" 8 | type: "Int8FC" 9 | arg { 10 | name: "axis" 11 | i: 2 12 | } 13 | arg { 14 | name: "Y_scale" 15 | f: 1 16 | } 17 | arg { 18 | name: "Y_zero_point" 19 | i: 0 20 | } 21 | } 22 | op { 23 | input: "output_q" 24 | output: "output" 25 | name: "" 26 | type: "Int8Dequantize" 27 | } 28 | external_input: "input" 29 | external_input: "weights" 30 | external_input: "bias" 31 | external_output: "output" 32 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/int8fc_4d_first_axis_init_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "init" 2 | op { 3 | output: "weights" 4 | type: "Int8GivenTensorFill" 5 | arg { 6 | name: "shape" 7 | ints: 3 8 | ints: 5 9 | } 10 | arg { 11 | name: "values" 12 | s: "\x0\x1\x2\x3\x4\x5\x6\x7\x8\x9\xa\xb\xc\xd\xe" 13 | } 14 | arg { 15 | name: "Y_scale" 16 | f: 1 17 | } 18 | arg { 19 | name: "Y_zero_point" 20 | i: 0 21 | } 22 | } 23 | op { 24 | output: "bias" 25 | type: "Int8GivenTensorFill" 26 | arg { 27 | name: "shape" 28 | ints: 3 29 | } 30 | arg { 31 | name: "values" 32 | s: "\x0\x1\x2" 33 | } 34 | arg { 35 | name: "Y_scale" 36 | f: 1 37 | } 38 | arg { 39 | name: "Y_zero_point" 40 | i: 0 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/int8fc_4d_first_axis_predict_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "int8_fc_4d" 2 | op { 3 | input: "input" 4 | input: "weights" 5 | input: "bias" 6 | output: "output_q" 7 | name: "" 8 | type: "Int8FC" 9 | arg { 10 | name: "axis" 11 | i: 1 12 | } 13 | arg { 14 | name: "Y_scale" 15 | f: 1 16 | } 17 | arg { 18 | name: "Y_zero_point" 19 | i: 0 20 | } 21 | } 22 | op { 23 | input: "output_q" 24 | output: "output" 25 | name: "" 26 | type: "Int8Dequantize" 27 | } 28 | external_input: "input" 29 | external_input: "weights" 30 | external_input: "bias" 31 | external_output: "output" 32 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/int8sumrelu_init_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "init" 2 | op { 3 | output: "rhs" 4 | type: "Int8GivenTensorFill" 5 | arg { 6 | name: "shape" 7 | ints: 4 8 | ints: 2 9 | } 10 | arg { 11 | name: "values" 12 | s: "\1\1\1\1\1\1\1\1" 13 | } 14 | arg { 15 | name: "Y_scale" 16 | f: 1 17 | } 18 | arg { 19 | name: "Y_zero_point" 20 | i: 0 21 | } 22 | } 23 | 24 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/int8sumrelu_large_range_init_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "init" 2 | op { 3 | output: "rhs" 4 | type: "Int8GivenTensorFill" 5 | arg { 6 | name: "shape" 7 | ints: 4 8 | ints: 2 9 | } 10 | arg { 11 | name: "values" 12 | s: "\1\1\1\1\1\1\1\1" 13 | } 14 | arg { 15 | name: "Y_scale" 16 | f: 600.f 17 | } 18 | arg { 19 | name: "Y_zero_point" 20 | i: 127 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/int8sumrelu_large_range_pred_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "conv_test" 2 | op { 3 | input: "gpu_0/data_0" 4 | output: "qout" 5 | type: "Int8Quantize" 6 | arg { 7 | name: "Y_scale" 8 | f: 1.f 9 | } 10 | arg { 11 | name: "Y_zero_point" 12 | i: 0 13 | } 14 | } 15 | op { 16 | input: "qout" 17 | input: "rhs" 18 | output: "out" 19 | type: "Int8SumRelu" 20 | arg { 21 | name: "Y_scale" 22 | f: 575.f 23 | } 24 | arg { 25 | name: "Y_zero_point" 26 | i: 120 27 | } 28 | } 29 | external_output: "out" 30 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/int8sumrelu_pred_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "conv_test" 2 | op { 3 | input: "gpu_0/data_0" 4 | input: "rhs" 5 | output: "out" 6 | type: "Int8SumRelu" 7 | arg { 8 | name: "Y_scale" 9 | f: 1 10 | } 11 | arg { 12 | name: "Y_zero_point" 13 | i: 0 14 | } 15 | } 16 | external_output: "out" 17 | 18 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/int8sumrelu_tiny_scale_init_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "init" 2 | op { 3 | output: "rhs" 4 | type: "Int8GivenTensorFill" 5 | arg { 6 | name: "shape" 7 | ints: 4 8 | ints: 2 9 | } 10 | arg { 11 | name: "values" 12 | s: "\1\1\1\1\1\1\1\1" 13 | } 14 | arg { 15 | name: "Y_scale" 16 | f: 7e-10 17 | } 18 | arg { 19 | name: "Y_zero_point" 20 | i: 13 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/int8sumrelu_tiny_scale_pred_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "conv_test" 2 | op { 3 | input: "gpu_0/data_0" 4 | input: "rhs" 5 | output: "out" 6 | type: "Int8SumRelu" 7 | arg { 8 | name: "Y_scale" 9 | f: 1e-11 10 | } 11 | arg { 12 | name: "Y_zero_point" 13 | i: 5 14 | } 15 | } 16 | external_output: "out" 17 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/layernorm_neg_axis_pred_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "layer_norm" 2 | op { 3 | input: "input" 4 | output: "result" 5 | name: "" 6 | type: "LayerNorm" 7 | arg { 8 | name: "axis" 9 | i: -2 10 | } 11 | arg { 12 | name: "epsilon" 13 | f: 0.05 14 | } 15 | } 16 | external_input: "input" 17 | external_output: "result" 18 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/layernorm_pred_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "layer_norm" 2 | op { 3 | input: "input" 4 | output: "result" 5 | name: "" 6 | type: "LayerNorm" 7 | arg { 8 | name: "axis" 9 | i: 2 10 | } 11 | arg { 12 | name: "epsilon" 13 | f: 0.05 14 | } 15 | } 16 | external_input: "input" 17 | external_output: "result" 18 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/layernorm_weight_bias_pred_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "layer_norm" 2 | op { 3 | input: "input" 4 | input: "weight" 5 | input: "bias" 6 | output: "result" 7 | name: "" 8 | type: "LayerNorm" 9 | } 10 | external_input: "input" 11 | external_output: "result" 12 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/lengths_range_fill_predict_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "lengths_ranges_fill" 2 | op { 3 | input: "lengths" 4 | output: "result" 5 | name: "" 6 | type: "LengthsRangeFill" 7 | arg { 8 | name: "maxOutputSize" 9 | i: 8 10 | } 11 | } 12 | external_input: "lengths" 13 | external_output: "result" 14 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/lengths_sum.pbtxt: -------------------------------------------------------------------------------- 1 | name: "lengthsSum" 2 | op { 3 | input: "data" 4 | input: "lengths" 5 | output: "result" 6 | name: "" 7 | type: "LengthsSum" 8 | } 9 | external_input: "data" 10 | external_input: "lengths" 11 | external_output: "result" 12 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/lengths_to_ranges.pbtxt: -------------------------------------------------------------------------------- 1 | name: "lengths_to_ranges" 2 | op { 3 | input: "input" 4 | output: "output" 5 | type: "LengthsToRanges" 6 | } 7 | external_input: "input" 8 | external_output: "output" 9 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/lengths_to_ranges_init_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "init" 2 | op { 3 | output: "input" 4 | type: "GivenTensorIntFill" 5 | arg { 6 | name: "shape" 7 | ints: 4 8 | } 9 | arg { 10 | name: "values" 11 | ints: 1 12 | ints: 3 13 | ints: 0 14 | ints: 2 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/log1p.pbtxt: -------------------------------------------------------------------------------- 1 | name: "log1p" 2 | op { 3 | input: "input" 4 | output: "output" 5 | name: "" 6 | type: "Log1p" 7 | } 8 | external_input: "input" 9 | external_output: "output" 10 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/logit_op_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "logit" 2 | op { 3 | input: "inputs_0" 4 | output: "logit_result" 5 | name: "" 6 | type: "Logit" 7 | arg { 8 | name: "eps" 9 | f: 1e-6 10 | } 11 | } 12 | external_input: "inputs_0" 13 | external_output: "logit_result" 14 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/lpnorm_p1.pbtxt: -------------------------------------------------------------------------------- 1 | name: "lpnorm" 2 | op { 3 | input: "input" 4 | output: "output" 5 | name: "" 6 | type: "LpNorm" 7 | arg { 8 | name: "p" 9 | i: 1 10 | } 11 | arg { 12 | name: "average" 13 | i: 0 14 | } 15 | } 16 | external_input: "input" 17 | external_output: "output" 18 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/lpnorm_p2.pbtxt: -------------------------------------------------------------------------------- 1 | name: "lpnorm" 2 | op { 3 | input: "input" 4 | output: "output" 5 | name: "" 6 | type: "LpNorm" 7 | arg { 8 | name: "p" 9 | i: 2 10 | } 11 | arg { 12 | name: "average" 13 | i: 0 14 | } 15 | } 16 | external_input: "input" 17 | external_output: "output" 18 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/matmul_trans_RHS_predict_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "matmul_trans_RHS" 2 | op { 3 | input: "inputs_0" 4 | input: "inputs_1" 5 | output: "output" 6 | name: "" 7 | type: "BatchMatMul" 8 | arg { 9 | name: "broadcast" 10 | i: 0 11 | } 12 | arg { 13 | name: "trans_a" 14 | i: 0 15 | } 16 | arg { 17 | name: "trans_b" 18 | i: 1 19 | } 20 | } 21 | external_input: "inputs_0" 22 | external_input: "inputs_1" 23 | external_output: "output" 24 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/maxpool_legacy_padding_predict_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "maxpool_test" 2 | op { 3 | input: "inputs" 4 | output: "output" 5 | type: "MaxPool" 6 | arg { 7 | name: "kernel" 8 | i: 2 9 | } 10 | arg { 11 | name: "stride" 12 | i: 1 13 | } 14 | arg { 15 | name: "pad" 16 | i: 1 17 | } 18 | arg { 19 | name: "legacy_pad" 20 | i: 3 21 | } 22 | } 23 | external_output: "output" 24 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/maxpool_nhwc_predict_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "maxpool_test" 2 | op { 3 | input: "inputs" 4 | output: "output" 5 | type: "MaxPool" 6 | arg { 7 | name: "order" 8 | s: "NHWC" 9 | } 10 | arg { 11 | name: "kernel" 12 | i: 2 13 | } 14 | arg { 15 | name: "stride" 16 | i: 1 17 | } 18 | arg { 19 | name: "pad" 20 | i: 1 21 | } 22 | } 23 | external_output: "output" 24 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/maxpool_predict_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "maxpool_test" 2 | op { 3 | input: "inputs" 4 | output: "output" 5 | type: "MaxPool" 6 | arg { 7 | name: "kernel" 8 | i: 2 9 | } 10 | arg { 11 | name: "stride" 12 | i: 1 13 | } 14 | arg { 15 | name: "pad" 16 | i: 1 17 | } 18 | arg { 19 | name: "legacy_pad" 20 | i: 0 21 | } 22 | } 23 | external_output: "output" 24 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/mean_3inputs.pbtxt: -------------------------------------------------------------------------------- 1 | name: "mean_3inputs" 2 | op { 3 | input: "input1" 4 | input: "input2" 5 | input: "input3" 6 | output: "output" 7 | name: "" 8 | type: "Mean" 9 | } 10 | external_input: "input1" 11 | external_input: "input2" 12 | external_input: "input3" 13 | external_output: "output" 14 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/modulo_op_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "modulo_test" 2 | op { 3 | input: "data" 4 | arg { 5 | name: "divisor" 6 | i: 2 7 | } 8 | arg { 9 | name: "sign_follow_divisor" 10 | i: 0 11 | } 12 | output: "output" 13 | type: "Mod" 14 | } 15 | external_input: "data" 16 | external_output: "output" 17 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/multiple_inputs_graph.pbtxt: -------------------------------------------------------------------------------- 1 | name: "test-multiple-inputs" 2 | op { 3 | type: "Add" 4 | input: "input1" 5 | input: "input2" 6 | output: "output" 7 | } 8 | external_input: "input1" 9 | external_input: "input2" 10 | external_output: "output" 11 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/negative.pbtxt: -------------------------------------------------------------------------------- 1 | name: "negative" 2 | op { 3 | input: "input" 4 | output: "output" 5 | name: "" 6 | type: "Negative" 7 | } 8 | external_input: "input" 9 | external_output: "output" 10 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/parallel_matmul_predict_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "parallel_matmul" 2 | op { 3 | input: "inputs_0" 4 | input: "inputs_1" 5 | output: "output" 6 | name: "" 7 | type: "BatchMatMul" 8 | } 9 | external_input: "inputs_0" 10 | external_input: "inputs_1" 11 | external_output: "output" 12 | 13 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/predict_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "conv_test" 2 | op { 3 | input: "gpu_0/data_0" 4 | input: "conv_w" 5 | input: "conv_b" 6 | output: "conv_out" 7 | type: "Conv" 8 | arg { 9 | name: "kernel" 10 | i: 2 11 | } 12 | arg { 13 | name: "stride" 14 | i: 1 15 | } 16 | arg { 17 | name: "group" 18 | i: 1 19 | } 20 | arg { 21 | name: "pad" 22 | i: 1 23 | } 24 | arg { 25 | name: "dilations" 26 | ints: 2 27 | ints: 2 28 | } 29 | } 30 | external_output: "conv_out" 31 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/prelu.pbtxt: -------------------------------------------------------------------------------- 1 | name: "prelu" 2 | op { 3 | input: "prelu_test_input" 4 | input: "slope" 5 | output: "prelu_test_output" 6 | type: "PRelu" 7 | } 8 | external_input: "prelu_test_input" 9 | external_input: "slope" 10 | external_output: "prelu_test_output" 11 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/reduce_back_sum.pbtxt: -------------------------------------------------------------------------------- 1 | name: "reduce_back_sum" 2 | op { 3 | input: "inputs_0" 4 | output: "result" 5 | name: "" 6 | type: "ReduceBackSum" 7 | } 8 | external_input: "inputs_0" 9 | external_output: "result" 10 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/reducebackmean.pbtxt: -------------------------------------------------------------------------------- 1 | name: "reducebackmean" 2 | op { 3 | input: "input" 4 | output: "output" 5 | name: "" 6 | type: "ReduceBackMean" 7 | } 8 | external_input: "input" 9 | external_output: "output" 10 | 11 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/replace_nan_predict_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "replaceNaN" 2 | op { 3 | input: "input" 4 | output: "replace_nan_result" 5 | name: "" 6 | type: "ReplaceNaN" 7 | arg { 8 | name: "value" 9 | f: 1 10 | } 11 | } 12 | external_input: "input" 13 | external_output: "replace_nan_result" 14 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/resize_nearest_op_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "resizenearest" 2 | op { 3 | type: "ResizeNearest" 4 | input: "input_0" 5 | output: "resize_nearest_test_output" 6 | arg { 7 | name: "order" 8 | s: "NHWC" 9 | } 10 | arg { 11 | name: "height_scale" 12 | f: 2.0 13 | } 14 | arg { 15 | name: "width_scale" 16 | f: 1.5 17 | } 18 | } 19 | external_input: "input_0" 20 | external_output: "resize_nearest_test_output" 21 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/rmsnorm.pbtxt: -------------------------------------------------------------------------------- 1 | name: "rmsnorm" 2 | op { 3 | input: "x" 4 | input: "gamma" 5 | input: "beta" 6 | output: "y" 7 | output: "rrms" 8 | name: "" 9 | type: "RMSNorm" 10 | arg { 11 | name: "eps" 12 | f: 1 13 | } 14 | } 15 | external_input: "x" 16 | external_input: "gamma" 17 | external_input: "beta" 18 | external_output: "y" 19 | external_output: "rrms" 20 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/rowwise_quantized_sparse_lengths_sum_init_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "rowwise_quantized_sparse_lengths_sum_init_net_test" 2 | op { 3 | output: "data" 4 | type: "GivenTensorByteStringToUInt8Fill" 5 | arg { 6 | name: "shape" 7 | ints: 3 8 | ints: 2 9 | } 10 | arg { 11 | name: "values" 12 | strings: "\000\377\000\377\000\377" 13 | } 14 | } 15 | op { 16 | output: "scales_bias" 17 | type: "GivenTensorFill" 18 | arg { 19 | name: "shape" 20 | ints: 3 21 | ints: 2 22 | } 23 | arg { 24 | name: "values" 25 | floats: 0.00078431389 26 | floats: 1.0 27 | floats: 0.0043137260 28 | floats: 2.3 29 | floats: 0.0047058817 30 | floats: 4.5 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/rowwise_quantized_sparse_lengths_sum_predict_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "rowwise_quantized_sparse_lengths_sum_predict_net_test" 2 | op { 3 | input: "data" 4 | input: "indices" 5 | input: "lengths" 6 | input: "scales_bias" 7 | output: "result" 8 | name: "" 9 | type: "SparseLengthsSum8BitsRowwise" 10 | } 11 | external_input: "indices" 12 | external_input: "lengths" 13 | external_output: "result" 14 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/rowwise_quantized_sparse_lengths_weighted_sum_predict_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "rowwise_quantized_sparse_lengths_weighted_sum_predict_net_test" 2 | op { 3 | input: "data" 4 | input: "weights" 5 | input: "indices" 6 | input: "lengths" 7 | input: "scale_bias" 8 | output: "result" 9 | name: "" 10 | type: "SparseLengthsWeightedSum8BitsRowwise" 11 | } 12 | external_input: "data" 13 | external_input: "weights" 14 | external_input: "indices" 15 | external_input: "lengths" 16 | external_input: "scale_bias" 17 | external_output: "result" 18 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/scale.pbtxt: -------------------------------------------------------------------------------- 1 | name: "scale" 2 | op { 3 | input: "input" 4 | arg { 5 | name: "scale" 6 | f: 2 7 | } 8 | output: "output" 9 | name: "" 10 | type: "Scale" 11 | } 12 | external_input: "input" 13 | external_output: "output" 14 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/sigmoid.pbtxt: -------------------------------------------------------------------------------- 1 | name: "sigmoid" 2 | op { 3 | type: "Sigmoid" 4 | input: "sigmoid_test_input" 5 | output: "sigmoid_test_output" 6 | } 7 | external_input: "sigmoid_test_input" 8 | external_output: "sigmoid_test_output" 9 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/sign.pbtxt: -------------------------------------------------------------------------------- 1 | name: "sign" 2 | op { 3 | input: "input" 4 | output: "output" 5 | name: "" 6 | type: "Sign" 7 | } 8 | external_input: "input" 9 | external_output: "output" 10 | 11 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/softplus.pbtxt: -------------------------------------------------------------------------------- 1 | name: "softplus" 2 | op { 3 | input: "input" 4 | output: "output" 5 | name: "" 6 | type: "Softplus" 7 | } 8 | external_input: "input" 9 | external_output: "output" 10 | 11 | 12 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/sparse_to_dense.pbtxt: -------------------------------------------------------------------------------- 1 | name: "sparseToDense" 2 | op { 3 | input: "indices" 4 | input: "values" 5 | input: "dataToInferDim" 6 | output: "dense_result" 7 | name: "" 8 | type: "SparseToDense" 9 | } 10 | external_input: "indices" 11 | external_input: "values" 12 | external_input: "dataToInferDim" 13 | external_output: "dense_result" 14 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/sparse_to_dense_mask_op_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "sparse_to_dense_mask" 2 | op { 3 | input: "indices" 4 | input: "values" 5 | input: "defaultValue" 6 | arg { 7 | name: "mask" 8 | ints: 42 9 | ints: 100 10 | ints: 300 11 | ints: 1 12 | ints: 0 13 | ints: 312 14 | } 15 | output: "output" 16 | type: "SparseToDenseMask" 17 | } 18 | external_input: "indices" 19 | external_input: "values" 20 | external_input: "defaultValue" 21 | external_output: "output" 22 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/sqr_predict_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "square" 2 | op { 3 | input: "input" 4 | output: "result" 5 | name: "" 6 | type: "Sqr" 7 | } 8 | external_input: "inputs" 9 | external_output: "result" 10 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/swish_op_net.pbtxt: -------------------------------------------------------------------------------- 1 | name: "swish" 2 | op { 3 | input: "input" 4 | output: "swish_result" 5 | name: "" 6 | type: "Swish" 7 | } 8 | external_input: "input" 9 | external_output: "swish_result" 10 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/topk_k2.pbtxt: -------------------------------------------------------------------------------- 1 | name: "topk_k2" 2 | op { 3 | input: "input" 4 | output: "values" 5 | output: "indices" 6 | name: "" 7 | type: "TopK" 8 | arg { 9 | name: "k" 10 | i: 2 11 | } 12 | } 13 | external_input: "input" 14 | external_output: "values" 15 | external_output: "indices" 16 | 17 | 18 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/uniform_fill_input_as_shape.pbtxt: -------------------------------------------------------------------------------- 1 | name: "uniform_fill_input_as_shape" 2 | op { 3 | input: "inputs_0" 4 | output: "result" 5 | name: "" 6 | type: "UniformFill" 7 | arg { 8 | name: "min" 9 | f: 0.0 10 | } 11 | arg { 12 | name: "max" 13 | f: 10.0 14 | } 15 | arg { 16 | name: "input_as_shape" 17 | i: 1 18 | } 19 | } 20 | external_input: "inputs_0" 21 | external_output: "result" 22 | -------------------------------------------------------------------------------- /tests/models/caffe2Models/uniform_fill_use_input_shape.pbtxt: -------------------------------------------------------------------------------- 1 | name: "uniform_fill_use_input_shape" 2 | op { 3 | input: "inputs_0" 4 | output: "result" 5 | name: "" 6 | type: "UniformFill" 7 | arg { 8 | name: "min" 9 | f: 0.0 10 | } 11 | arg { 12 | name: "max" 13 | f: 10.0 14 | } 15 | } 16 | external_input: "inputs_0" 17 | external_output: "result" 18 | -------------------------------------------------------------------------------- /tests/models/onnxModels/add_2inputs_3D.onnx: -------------------------------------------------------------------------------- 1 | vuzelac:m 2 |  3 | X 4 | YZ"AddmultiInput-modelZ 5 | X 6 |  7 |  8 |  9 | Z 10 | Y 11 |  12 |  13 |  14 | b 15 | Z 16 |  17 |  18 |  19 | B -------------------------------------------------------------------------------- /tests/models/onnxModels/add_2inputs_4D.onnx: -------------------------------------------------------------------------------- 1 | vuzelac:y 2 |  3 | X 4 | YZ"AddmultiInput-modelZ 5 | X 6 |  7 |  8 |  9 |  10 | Z 11 | Y 12 |  13 |  14 |  15 |  16 | b 17 | Z 18 |  19 |  20 |  21 |  22 | B -------------------------------------------------------------------------------- /tests/models/onnxModels/bool_from_int.onnxtxt: -------------------------------------------------------------------------------- 1 | ir_version: 6 2 | producer_name: "onnx-example" 3 | 4 | graph { 5 | node { 6 | input: "input0" 7 | output: "output0" 8 | op_type: "Identity" 9 | } 10 | initializer { 11 | dims: 3 12 | data_type: 9 13 | int32_data: 1 14 | int32_data: 0 15 | int32_data: 1 16 | name: "input0" 17 | } 18 | output { 19 | name: "output0" 20 | type { 21 | tensor_type { 22 | elem_type: 9 23 | shape { 24 | dim { 25 | dim_value: 3 26 | } 27 | } 28 | } 29 | } 30 | } 31 | } 32 | opset_import { 33 | version: 11 34 | } 35 | 36 | -------------------------------------------------------------------------------- /tests/models/onnxModels/constant.onnxtxt: -------------------------------------------------------------------------------- 1 | ir_version: 3 2 | producer_name: "backend-test" 3 | graph { 4 | node { 5 | output: "output" 6 | op_type: "Constant" 7 | attribute { 8 | name: "value" 9 | t { 10 | dims: 3 11 | data_type: 6 12 | name: "split_info" 13 | raw_data: "\001\000\000\000\001\000\000\000\001\000\000\000" 14 | } 15 | type: TENSOR 16 | } 17 | } 18 | output { 19 | name: "output" 20 | type { 21 | tensor_type { 22 | elem_type: 6 23 | shape { 24 | dim { 25 | dim_value: 3 26 | } 27 | } 28 | } 29 | } 30 | } 31 | } 32 | opset_import { 33 | version: 9 34 | } 35 | -------------------------------------------------------------------------------- /tests/models/onnxModels/leakyReluDefault.onnxtxt: -------------------------------------------------------------------------------- 1 | ir_version: 3 2 | producer_name: "glow-test" 3 | graph { 4 | node { 5 | input: "x" 6 | output: "y" 7 | name: "LeakyRelu" 8 | op_type: "LeakyRelu" 9 | } 10 | name: "test_leaky_relu" 11 | input { 12 | name: "x" 13 | type { 14 | tensor_type { 15 | elem_type: 1 16 | shape { 17 | dim { 18 | dim_value: 7 19 | } 20 | } 21 | } 22 | } 23 | } 24 | output { 25 | name: "y" 26 | type { 27 | tensor_type { 28 | elem_type: 1 29 | shape { 30 | dim { 31 | dim_value: 7 32 | } 33 | } 34 | } 35 | } 36 | } 37 | } 38 | opset_import { 39 | version: 9 40 | } 41 | -------------------------------------------------------------------------------- /tests/models/onnxModels/sum1.onnxtxt: -------------------------------------------------------------------------------- 1 | ir_version: 3 2 | producer_name: "backend-test" 3 | graph { 4 | node { 5 | input: "x" 6 | output: "y" 7 | op_type: "Sum" 8 | } 9 | name: "test_sum_with_1_input" 10 | input { 11 | name: "x" 12 | type { 13 | tensor_type { 14 | elem_type: 1 15 | shape { 16 | dim { 17 | dim_value: 3 18 | } 19 | } 20 | } 21 | } 22 | } 23 | output { 24 | name: "y" 25 | type { 26 | tensor_type { 27 | elem_type: 1 28 | shape { 29 | dim { 30 | dim_value: 3 31 | } 32 | } 33 | } 34 | } 35 | } 36 | } 37 | opset_import { 38 | version: 9 39 | } 40 | -------------------------------------------------------------------------------- /tests/models/pytorchModels/resnet18.pt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/pytorchModels/resnet18.pt -------------------------------------------------------------------------------- /tests/models/tfliteModels/abs.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/abs.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/abs.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/abs.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/abs.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/abs.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/add.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/add.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/add.inp1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/add.inp1 -------------------------------------------------------------------------------- /tests/models/tfliteModels/add.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/add.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/add.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/add.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/add_broadcast.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/add_broadcast.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/add_broadcast.inp1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/add_broadcast.inp1 -------------------------------------------------------------------------------- /tests/models/tfliteModels/add_broadcast.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/add_broadcast.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/add_broadcast.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/add_broadcast.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/arg_max.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/arg_max.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/arg_max.out0: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /tests/models/tfliteModels/arg_max.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/arg_max.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/arg_min.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/arg_min.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/arg_min.out0: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /tests/models/tfliteModels/arg_min.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/arg_min.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/avgpool2d_same.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/avgpool2d_same.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/avgpool2d_same.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/avgpool2d_same.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/avgpool2d_same.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/avgpool2d_same.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/avgpool2d_valid.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/avgpool2d_valid.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/avgpool2d_valid.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/avgpool2d_valid.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/avgpool2d_valid.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/avgpool2d_valid.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/batchToSpaceNd.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/batchToSpaceNd.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/batchToSpaceNd.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/batchToSpaceNd.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/batchToSpaceNd.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/batchToSpaceNd.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/cast_f32_to_int32.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/cast_f32_to_int32.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/cast_f32_to_int32.out0: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/models/tfliteModels/cast_f32_to_int32.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/cast_f32_to_int32.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/ceil.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/ceil.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/ceil.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/ceil.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/ceil.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/ceil.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/concat.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/concat.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/concat.inp1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/concat.inp1 -------------------------------------------------------------------------------- /tests/models/tfliteModels/concat.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/concat.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/concat.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/concat.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/concat_neg_axis.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/concat_neg_axis.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/concat_neg_axis.inp1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/concat_neg_axis.inp1 -------------------------------------------------------------------------------- /tests/models/tfliteModels/concat_neg_axis.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/concat_neg_axis.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/concat_neg_axis.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/concat_neg_axis.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/conv2d_relu.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/conv2d_relu.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/conv2d_relu.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/conv2d_relu.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/conv2d_relu.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/conv2d_relu.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/conv2d_same.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/conv2d_same.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/conv2d_same.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/conv2d_same.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/conv2d_same.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/conv2d_same.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/conv2d_valid.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/conv2d_valid.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/conv2d_valid.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/conv2d_valid.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/conv2d_valid.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/conv2d_valid.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/cos.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/cos.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/cos.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/cos.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/cos.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/cos.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/depth_to_space.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/depth_to_space.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/depth_to_space.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/depth_to_space.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/depth_to_space.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/depth_to_space.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/depthwise_conv2d_c1_m1.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/depthwise_conv2d_c1_m1.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/depthwise_conv2d_c1_m1.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/depthwise_conv2d_c1_m1.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/depthwise_conv2d_c1_m1.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/depthwise_conv2d_c1_m1.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/depthwise_conv2d_c1_m2.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/depthwise_conv2d_c1_m2.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/depthwise_conv2d_c1_m2.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/depthwise_conv2d_c1_m2.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/depthwise_conv2d_c1_m2.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/depthwise_conv2d_c1_m2.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/depthwise_conv2d_c2_m1.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/depthwise_conv2d_c2_m1.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/depthwise_conv2d_c2_m1.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/depthwise_conv2d_c2_m1.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/depthwise_conv2d_c2_m1.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/depthwise_conv2d_c2_m1.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/depthwise_conv2d_c2_m2.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/depthwise_conv2d_c2_m2.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/depthwise_conv2d_c2_m2.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/depthwise_conv2d_c2_m2.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/depthwise_conv2d_c2_m2.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/depthwise_conv2d_c2_m2.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/div.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/div.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/div.inp1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/div.inp1 -------------------------------------------------------------------------------- /tests/models/tfliteModels/div.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/div.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/div.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/div.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/div_broadcast.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/div_broadcast.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/div_broadcast.inp1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/div_broadcast.inp1 -------------------------------------------------------------------------------- /tests/models/tfliteModels/div_broadcast.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/div_broadcast.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/div_broadcast.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/div_broadcast.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/equal.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/equal.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/equal.inp1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/equal.inp1 -------------------------------------------------------------------------------- /tests/models/tfliteModels/equal.out0: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /tests/models/tfliteModels/equal.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/equal.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/exp.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/exp.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/exp.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/exp.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/exp.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/exp.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/floor.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/floor.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/floor.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/floor.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/floor.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/floor.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/fully_connected.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/fully_connected.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/fully_connected.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/fully_connected.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/fully_connected.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/fully_connected.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/gather_axis0.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/gather_axis0.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/gather_axis0.inp1: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/models/tfliteModels/gather_axis0.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/gather_axis0.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/gather_axis0.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/gather_axis0.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/gather_axis1.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/gather_axis1.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/gather_axis1.inp1: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /tests/models/tfliteModels/gather_axis1.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/gather_axis1.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/gather_axis1.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/gather_axis1.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/gather_nd.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/gather_nd.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/gather_nd.inp1: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /tests/models/tfliteModels/gather_nd.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/gather_nd.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/gather_nd.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/gather_nd.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/greater.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/greater.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/greater.inp1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/greater.inp1 -------------------------------------------------------------------------------- /tests/models/tfliteModels/greater.out0: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /tests/models/tfliteModels/greater.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/greater.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/greater_equal.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/greater_equal.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/greater_equal.inp1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/greater_equal.inp1 -------------------------------------------------------------------------------- /tests/models/tfliteModels/greater_equal.out0: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /tests/models/tfliteModels/greater_equal.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/greater_equal.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/hardSwish.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/hardSwish.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/hardSwish.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/hardSwish.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/hardSwish.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/hardSwish.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/leaky_relu.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/leaky_relu.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/leaky_relu.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/leaky_relu.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/leaky_relu.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/leaky_relu.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/less.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/less.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/less.inp1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/less.inp1 -------------------------------------------------------------------------------- /tests/models/tfliteModels/less.out0: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /tests/models/tfliteModels/less.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/less.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/less_equal.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/less_equal.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/less_equal.inp1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/less_equal.inp1 -------------------------------------------------------------------------------- /tests/models/tfliteModels/less_equal.out0: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /tests/models/tfliteModels/less_equal.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/less_equal.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/log.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/log.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/log.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/log.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/log.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/log.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/log_softmax.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/log_softmax.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/log_softmax.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/log_softmax.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/log_softmax.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/log_softmax.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/logical_and.inp0: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /tests/models/tfliteModels/logical_and.inp1: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /tests/models/tfliteModels/logical_and.out0: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /tests/models/tfliteModels/logical_and.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/logical_and.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/logical_not.inp0: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /tests/models/tfliteModels/logical_not.out0: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /tests/models/tfliteModels/logical_not.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/logical_not.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/logical_or.inp0: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /tests/models/tfliteModels/logical_or.inp1: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /tests/models/tfliteModels/logical_or.out0: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /tests/models/tfliteModels/logical_or.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/logical_or.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/max.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/max.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/max.inp1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/max.inp1 -------------------------------------------------------------------------------- /tests/models/tfliteModels/max.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/max.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/max.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/max.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/max_broadcast.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/max_broadcast.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/max_broadcast.inp1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/max_broadcast.inp1 -------------------------------------------------------------------------------- /tests/models/tfliteModels/max_broadcast.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/max_broadcast.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/max_broadcast.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/max_broadcast.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/maxpool2d_same.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/maxpool2d_same.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/maxpool2d_same.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/maxpool2d_same.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/maxpool2d_same.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/maxpool2d_same.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/maxpool2d_valid.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/maxpool2d_valid.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/maxpool2d_valid.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/maxpool2d_valid.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/maxpool2d_valid.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/maxpool2d_valid.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/mean_keep_dims.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/mean_keep_dims.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/mean_keep_dims.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/mean_keep_dims.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/mean_keep_dims.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/mean_keep_dims.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/mean_multiple_axis_keep_dims.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/mean_multiple_axis_keep_dims.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/mean_multiple_axis_keep_dims.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/mean_multiple_axis_keep_dims.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/mean_multiple_axis_keep_dims.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/mean_multiple_axis_keep_dims.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/mean_multiple_axis_no_keep_dims.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/mean_multiple_axis_no_keep_dims.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/mean_multiple_axis_no_keep_dims.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/mean_multiple_axis_no_keep_dims.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/mean_multiple_axis_no_keep_dims.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/mean_multiple_axis_no_keep_dims.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/mean_no_keep_dims.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/mean_no_keep_dims.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/mean_no_keep_dims.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/mean_no_keep_dims.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/mean_no_keep_dims.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/mean_no_keep_dims.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/min.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/min.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/min.inp1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/min.inp1 -------------------------------------------------------------------------------- /tests/models/tfliteModels/min.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/min.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/min.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/min.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/min_broadcast.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/min_broadcast.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/min_broadcast.inp1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/min_broadcast.inp1 -------------------------------------------------------------------------------- /tests/models/tfliteModels/min_broadcast.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/min_broadcast.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/min_broadcast.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/min_broadcast.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/mul.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/mul.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/mul.inp1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/mul.inp1 -------------------------------------------------------------------------------- /tests/models/tfliteModels/mul.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/mul.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/mul.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/mul.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/mul_broadcast.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/mul_broadcast.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/mul_broadcast.inp1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/mul_broadcast.inp1 -------------------------------------------------------------------------------- /tests/models/tfliteModels/mul_broadcast.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/mul_broadcast.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/mul_broadcast.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/mul_broadcast.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/neg.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/neg.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/neg.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/neg.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/neg.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/neg.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/not_equal.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/not_equal.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/not_equal.inp1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/not_equal.inp1 -------------------------------------------------------------------------------- /tests/models/tfliteModels/not_equal.out0: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /tests/models/tfliteModels/not_equal.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/not_equal.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/pack.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/pack.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/pack.inp1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/pack.inp1 -------------------------------------------------------------------------------- /tests/models/tfliteModels/pack.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/pack.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/pack.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/pack.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/pad.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/pad.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/pad.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/pad.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/pad.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/pad.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/pow.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/pow.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/pow.inp1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/pow.inp1 -------------------------------------------------------------------------------- /tests/models/tfliteModels/pow.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/pow.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/pow.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/pow.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/prelu.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/prelu.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/prelu.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/prelu.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/prelu.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/prelu.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/relu.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/relu.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/relu.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/relu.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/relu.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/relu.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/relu6.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/relu6.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/relu6.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/relu6.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/relu6.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/relu6.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/relu_n1to1.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/relu_n1to1.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/relu_n1to1.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/relu_n1to1.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/relu_n1to1.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/relu_n1to1.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/reshape.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/reshape.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/reshape.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/reshape.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/reshape.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/reshape.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/reshape_neg_shape.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/reshape_neg_shape.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/reshape_neg_shape.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/reshape_neg_shape.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/reshape_neg_shape.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/reshape_neg_shape.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/resize_bilinear.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/resize_bilinear.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/resize_bilinear.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/resize_bilinear.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/resize_bilinear.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/resize_bilinear.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/resize_nearest.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/resize_nearest.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/resize_nearest.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/resize_nearest.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/resize_nearest.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/resize_nearest.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/round.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/round.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/round.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/round.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/round.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/round.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/rsqrt.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/rsqrt.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/rsqrt.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/rsqrt.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/rsqrt.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/rsqrt.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/select.inp0: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /tests/models/tfliteModels/select.inp1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/select.inp1 -------------------------------------------------------------------------------- /tests/models/tfliteModels/select.inp2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/select.inp2 -------------------------------------------------------------------------------- /tests/models/tfliteModels/select.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/select.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/select.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/select.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/sigmoid.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/sigmoid.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/sigmoid.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/sigmoid.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/sigmoid.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/sigmoid.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/sin.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/sin.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/sin.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/sin.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/sin.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/sin.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/slice.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/slice.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/slice.out0: -------------------------------------------------------------------------------- 1 | QY%? -------------------------------------------------------------------------------- /tests/models/tfliteModels/slice.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/slice.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/slice_neg_size.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/slice_neg_size.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/slice_neg_size.out0: -------------------------------------------------------------------------------- 1 | QY%? -------------------------------------------------------------------------------- /tests/models/tfliteModels/slice_neg_size.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/slice_neg_size.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/softmax.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/softmax.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/softmax.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/softmax.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/softmax.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/softmax.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/spaceToBatchNd.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/spaceToBatchNd.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/spaceToBatchNd.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/spaceToBatchNd.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/spaceToBatchNd.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/spaceToBatchNd.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/space_to_depth.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/space_to_depth.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/space_to_depth.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/space_to_depth.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/space_to_depth.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/space_to_depth.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/split.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/split.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/split.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/split.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/split.out1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/split.out1 -------------------------------------------------------------------------------- /tests/models/tfliteModels/split.out2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/split.out2 -------------------------------------------------------------------------------- /tests/models/tfliteModels/split.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/split.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/sqrt.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/sqrt.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/sqrt.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/sqrt.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/sqrt.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/sqrt.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/square.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/square.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/square.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/square.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/square.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/square.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/strided_slice_test0.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/strided_slice_test0.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/strided_slice_test0.out0: -------------------------------------------------------------------------------- 1 |  ? -------------------------------------------------------------------------------- /tests/models/tfliteModels/strided_slice_test0.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/strided_slice_test0.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/strided_slice_test1.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/strided_slice_test1.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/strided_slice_test1.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/strided_slice_test1.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/strided_slice_test1.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/strided_slice_test1.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/strided_slice_test2.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/strided_slice_test2.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/strided_slice_test2.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/strided_slice_test2.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/strided_slice_test2.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/strided_slice_test2.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/strided_slice_test3.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/strided_slice_test3.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/strided_slice_test3.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/strided_slice_test3.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/strided_slice_test3.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/strided_slice_test3.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/strided_slice_test4.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/strided_slice_test4.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/strided_slice_test4.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/strided_slice_test4.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/strided_slice_test4.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/strided_slice_test4.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/strided_slice_test5.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/strided_slice_test5.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/strided_slice_test5.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/strided_slice_test5.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/strided_slice_test5.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/strided_slice_test5.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/strided_slice_test6.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/strided_slice_test6.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/strided_slice_test6.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/strided_slice_test6.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/strided_slice_test6.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/strided_slice_test6.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/sub.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/sub.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/sub.inp1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/sub.inp1 -------------------------------------------------------------------------------- /tests/models/tfliteModels/sub.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/sub.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/sub.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/sub.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/sub_broadcast.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/sub_broadcast.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/sub_broadcast.inp1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/sub_broadcast.inp1 -------------------------------------------------------------------------------- /tests/models/tfliteModels/sub_broadcast.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/sub_broadcast.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/sub_broadcast.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/sub_broadcast.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/tanh.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/tanh.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/tanh.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/tanh.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/tanh.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/tanh.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/tflite_detection_post_processing_boxes.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/tflite_detection_post_processing_boxes.bin -------------------------------------------------------------------------------- /tests/models/tfliteModels/tflite_detection_post_processing_fast.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/tflite_detection_post_processing_fast.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/tflite_detection_post_processing_regular.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/tflite_detection_post_processing_regular.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/tflite_detection_post_processing_scores.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/tflite_detection_post_processing_scores.bin -------------------------------------------------------------------------------- /tests/models/tfliteModels/tile.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/tile.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/tile.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/tile.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/tile.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/tile.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/transpose.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/transpose.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/transpose.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/transpose.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/transpose.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/transpose.tflite -------------------------------------------------------------------------------- /tests/models/tfliteModels/unpack.inp0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/unpack.inp0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/unpack.out0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/unpack.out0 -------------------------------------------------------------------------------- /tests/models/tfliteModels/unpack.out1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/unpack.out1 -------------------------------------------------------------------------------- /tests/models/tfliteModels/unpack.out2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/unpack.out2 -------------------------------------------------------------------------------- /tests/models/tfliteModels/unpack.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/tests/models/tfliteModels/unpack.tflite -------------------------------------------------------------------------------- /tests/runtime_test/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copy the models to the build directory. 2 | 3 | file(GLOB files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.yaml) 4 | foreach(filename ${files}) 5 | configure_file(${filename} ${CMAKE_CURRENT_BINARY_DIR}/${filename} COPYONLY) 6 | endforeach(filename) 7 | 8 | -------------------------------------------------------------------------------- /tests/runtime_test/backendSpecificOpts.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | backendOption1: 'foo' 3 | backendOption2: 'bar' 4 | ... 5 | -------------------------------------------------------------------------------- /tests/runtime_test/cpuConfigs.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Device1 3 | backendName: CPU 4 | parameters: | 5 | "platformID":"1" 6 | "deviceID" : "0" 7 | - name: Device2 8 | backendName: CPU 9 | parameters: | 10 | "platformID":"1" 11 | ... 12 | 13 | -------------------------------------------------------------------------------- /tests/runtime_test/heterogeneousConfigs.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Device1 3 | backendName: CPU 4 | parameters: | 5 | "nonSupportedNodes":"AvgPool" 6 | "deviceID" : "0" 7 | - name: Device2 8 | backendName: CPU 9 | parameters: | 10 | "nonSupportedNodes":"AvgPool" 11 | - name: Device3 12 | backendName: Interpreter 13 | parameters: | 14 | "supportedNodes":"" 15 | ... 16 | -------------------------------------------------------------------------------- /tests/stress/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${GLOW_BINARY_DIR}/tests/stress/) 2 | 3 | # Loop through all backends present in lib/Backends (see FindBackends.cmake) 4 | # and instantiate a backend-parameterized test for each of them. 5 | foreach(backend ${GLOW_BACKENDS}) 6 | add_backend_test(TEST ParameterSweepTest BACKEND "${backend}" UNOPT STRESS) 7 | add_backend_test(TEST SparseLengthsSumTest BACKEND "${backend}" UNOPT STRESS) 8 | endforeach() 9 | -------------------------------------------------------------------------------- /tools/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(Debugger) 2 | add_subdirectory(ClassGen) 3 | add_subdirectory(IncludeBin) 4 | if(PNG_FOUND) 5 | add_subdirectory(loader) 6 | add_subdirectory(png2bin) 7 | endif() 8 | -------------------------------------------------------------------------------- /tools/Debugger/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | if (GLOW_BUILD_TESTS) 2 | add_executable(network-debugger 3 | network-debugger.cpp 4 | NetworkComparator.cpp) 5 | 6 | target_link_libraries(network-debugger 7 | PRIVATE 8 | BackendTestUtils 9 | Importer 10 | HostManager 11 | ExecutionEngine) 12 | endif() 13 | -------------------------------------------------------------------------------- /tools/IncludeBin/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(include-bin 2 | IncludeBin.cpp) 3 | -------------------------------------------------------------------------------- /tools/png2bin/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(png2bin 2 | png2bin.cpp) 3 | 4 | target_link_libraries(png2bin 5 | PRIVATE 6 | Base 7 | QuantizationBase 8 | Support) 9 | -------------------------------------------------------------------------------- /torch_glow/setup.cfg: -------------------------------------------------------------------------------- 1 | [aliases] 2 | test=pytest 3 | 4 | [tool:pytest] 5 | testpaths = tests 6 | addopts = --verbose --forked 7 | -------------------------------------------------------------------------------- /torch_glow/tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/torch_glow/tests/__init__.py -------------------------------------------------------------------------------- /torch_glow/tests/conftest.py: -------------------------------------------------------------------------------- 1 | # isort:skip_file 2 | from __future__ import absolute_import, division, print_function, unicode_literals 3 | 4 | import torch_glow 5 | 6 | 7 | def pytest_addoption(parser): 8 | parser.addoption("--backend", action="store", default=None) 9 | 10 | 11 | def pytest_sessionstart(session): 12 | backend = session.config.getoption("--backend") 13 | if backend: 14 | torch_glow.setGlowBackend(backend) 15 | -------------------------------------------------------------------------------- /torch_glow/tests/functionality/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/torch_glow/tests/functionality/__init__.py -------------------------------------------------------------------------------- /torch_glow/tests/nodes/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/torch_glow/tests/nodes/__init__.py -------------------------------------------------------------------------------- /torch_glow/torch_glow/__init__.py: -------------------------------------------------------------------------------- 1 | from ._torch_glow import * 2 | from .to_glow import * 3 | -------------------------------------------------------------------------------- /torch_glow/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/torch_glow/utils/__init__.py -------------------------------------------------------------------------------- /torch_glow/utils/torchvision_fake/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytorch/glow/05dd99b971dc5eeeb2b86a80c74dca800653d548/torch_glow/utils/torchvision_fake/__init__.py -------------------------------------------------------------------------------- /utils/docker/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # Copyright (c) Glow Contributors. See CONTRIBUTORS file. 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); 6 | # you may not use this file except in compliance with the License. 7 | # You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | 17 | docker build -t pytorch/glow . 18 | -------------------------------------------------------------------------------- /utils/glow-trace-concat.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "[" 4 | tail -q -n +2 $@ | grep -h '"ph":"M"' | sort | uniq 5 | tail -q -n +2 $@ | grep -h -v '"ph":"M"' 6 | --------------------------------------------------------------------------------