sha256
stringlengths
64
64
language
stringclasses
27 values
size
int32
1
491k
lines
int32
1
21.8k
content
stringlengths
1
200k
9c859ae5be10b0024dfa7c3fde140eeebfeba0caf52b983f8fa54f5e48d589db
C++
49,280
1,171
#define TORCH_ASSERT_ONLY_METHOD_OPERATORS #include <ATen/native/RNN.h> #include <ATen/core/Tensor.h> #include <ATen/MatrixRef.h> #include <ATen/TensorUtils.h> #include <ATen/cuda/CUDAConfig.h> #include <c10/util/Exception.h> #include <c10/util/irange.h> #include <mutex> #include <optional> #ifndef AT_PER_OPERATOR_H...
c7f49ea9b666f4db28ed38bc882e02a281be60474e58ed7de1897ef2f527218c
C++
49,553
1,648
#define TORCH_ASSERT_ONLY_METHOD_OPERATORS #include <ATen/cuda/CUDAConfig.h> // for the definition of AT_CUDNN_ENABLED #if AT_CUDNN_ENABLED() #include <c10/macros/Macros.h> C10_DIAGNOSTIC_PUSH_AND_IGNORED_IF_DEFINED("-Wsuggest-override") #include <cudnn_frontend.h> C10_DIAGNOSTIC_POP() #include <ATen/core/Tensor.h...
969fce7501478007d2d63a0e6ec1ef519b1640c5581033cd56a18219ea6429f2
C++
50,021
1,539
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <cpuinfo.h> #include <gtest/gtest.h> #include <qnnpack/isa-checks.h> #include <qnnpack/u8ma...
69e19d047087d66476832d1ec344122113491bc8795cb487fe221c121a89e861
C++
50,097
1,244
#define TORCH_ASSERT_ONLY_METHOD_OPERATORS #include <ATen/core/Tensor.h> #include <ATen/Config.h> #include <ATen/Dispatch.h> #include <ATen/Dispatch_v2.h> #include <ATen/Parallel.h> #include <ATen/native/BatchLinearAlgebra.h> #include <ATen/native/LinearAlgebraUtils.h> #include <ATen/native/cpu/zmath.h> #include <c10/...
01d0b5010cb8efffa7ed6e494fda43aa801afe003ccf50c18973a9f34fe92563
C++
50,242
1,428
/*************************************************************************** * * Author: "Sjors H.W. Scheres" * MRC Laboratory of Molecular Biology * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software F...
3086e020c13e6a30759f86b1e2aeff18868f4cb0c27eabc78e8330ad41550416
C++
50,661
1,560
#define TORCH_ASSERT_ONLY_METHOD_OPERATORS #include <ATen/core/Tensor.h> #include <ATen/native/quantized/cpu/EmbeddingPackedParams.h> #include <ATen/native/quantized/cpu/fbgemm_utils.h> #include <ATen/native/quantized/cpu/qembeddingbag.h> #include <ATen/native/quantized/library.h> #include <torch/library.h> #ifdef USE_...
3f5c98d87ababa2e73acaad7d96675da0643381636e18ff4f2f635ae1055bb00
C++
50,949
1,344
// Copyright 2005, Google Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of conditions ...
357ef24ac836f780031ebe500a0c5db90c34ba381944fa5a0a073e390c2474e3
C++
51,912
1,568
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <cpuinfo.h> #include <gtest/gtest.h> #include <qnnpack/isa-checks.h> #include <qnnpack/q8ge...
e40bf5b0e530fd50f50296c9b055e2805ae3371c313f63fefd5f6112684f965f
C++
52,122
1,323
#define TORCH_ASSERT_ONLY_METHOD_OPERATORS #include <ATen/core/Tensor.h> #include <ATen/TensorSubclassLikeUtils.h> #include <ATen/detail/CUDAHooksInterface.h> #include <ATen/native/SpectralOpsUtils.h> #include <ATen/TensorIterator.h> #include <ATen/TensorOperators.h> #include <ATen/WrapDimUtils.h> #include <c10/util/ir...
e3634ddb418377914d3d7e8a06f29b0132e23d9168a96e777afb274a4ef83b94
C++
52,133
1,815
/*************************************************************************** * * Author: "Sjors H.W. Scheres" * MRC Laboratory of Molecular Biology * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software F...
ad04a21e294e4ae694dae27c0acd2e44a531afcf59d1bf14f28ab7183cef9c9f
C++
52,497
976
#include "../dep/laynii_lib.h" #include <sstream> int show_help(void) { printf( "LN2_PATCH_FLATTEN: Flatten a patch of cortex using 2D flat coordinates (U and V)\n" " and cortical a depth measurement (D). Intended to be used in\n" " combination with LN2_MULTILATERATE...
2a7451affbd4dcadcc881059c2959f492fa507681b2ed8c0422ce1f8a548e655
C++
55,306
1,068
// dear imgui: Platform Backend for SDL2 // This needs to be used along with a Renderer (e.g. DirectX11, OpenGL3, Vulkan..) // (Info: SDL2 is a cross-platform general purpose library for handling windows, inputs, graphics context creation, etc.) // (Prefer SDL 2.0.5+ for full feature support.) // Implemented features:...
4c222cab6a139befbf46cbc2637b7b315a813fadce11f02d8ad4897a310aac35
C++
55,706
1,788
//*********************************************************************************************** // // Written 1990 - 1997 by AXON Instruments Inc. // ...
66cca1278103413ab9c566585004f58213a5f870a4daa07c0bc75bd2f30b19b1
C++
55,918
1,344
#define TORCH_ASSERT_NO_OPERATORS #ifndef _USE_MATH_DEFINES #define _USE_MATH_DEFINES #endif #include <ATen/native/Activation.h> #include <cmath> #include <functional> #include <ATen/Dispatch.h> #include <ATen/OpMathType.h> #include <ATen/core/TensorBase.h> #include <ATen/cpu/vec/functional.h> #include <ATen/cpu/ve...
52e1be138c6c0ee5018dd7947d0d59699a33caba275cb290ddc1fab189b0d854
C++
55,954
1,965
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <cpuinfo.h> #include <gtest/gtest.h> #include <qnnpack/isa-checks.h> #include <qnnpack/q8av...
4599dc0c46658e6957307246411c82ce47258504ddf5e1d43fc3db32d03e35a3
C++
56,243
1,355
/*************************************************************************** * * Author: "Sjors H.W. Scheres" * MRC Laboratory of Molecular Biology * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software F...
8915c1472523d27f9a9ad5a2cae7000f9577c6131ea3727bd961fd96d65ad737
C++
56,603
2,244
/*************************************************************************** * * Author: "Sjors H.W. Scheres" * MRC Laboratory of Molecular Biology * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software F...
fc1a76b61fbe5dab018eb7d554cf9b65907e86fa3065a0917489c7e81c8638ce
C++
57,104
1,474
#define TORCH_ASSERT_ONLY_METHOD_OPERATORS #include <utility> #include <ATen/native/BatchLinearAlgebra.h> #include <ATen/core/Tensor.h> #include <ATen/Context.h> #include <ATen/cuda/CUDAContext.h> #include <ATen/Dispatch.h> #include <ATen/cuda/PinnedMemoryAllocator.h> #include <ATen/cuda/detail/IndexUtils.cuh> #inclu...
15ce2cd6f0e5eb3d3ba0aaefc42f11ec0d50da3fa419b3b705f478d280c91b58
C++
57,330
1,317
#define TORCH_ASSERT_NO_OPERATORS #include <ATen/native/GridSampler.h> #include <ATen/native/cpu/GridSamplerKernel.h> #include <ATen/core/TensorBase.h> #include <ATen/Dispatch.h> #include <ATen/Parallel.h> #include <ATen/TensorGeometry.h> #include <ATen/TensorIterator.h> #include <ATen/cpu/vec/vec.h> #include <c10/util...
625f9b209ac9b0da31bd8dd0424ce0efdc0a9ab6d7151240fec931b8ccf40ec1
C++
57,606
1,416
// Copyright (c) Facebook, Inc. and its affiliates. // All rights reserved. // // This source code is licensed under the BSD-style license found in the // LICENSE file in the root directory of this source tree. #include <ATen/functorch/BatchRulesHelper.h> #include <ATen/Operators.h> #include <ATen/functorch/PlumbingHe...
c0f2ca371d53453c95eb7cceb8bddf757ef32b56921595c2ecb2ae43ac5c9a4c
C++
57,901
1,516
#define TORCH_ASSERT_NO_OPERATORS #include <ATen/native/BinaryOps.h> #include <cmath> #include <ATen/Dispatch.h> #include <ATen/Dispatch_v2.h> #include <ATen/OpMathType.h> #include <ATen/Parallel.h> #include <ATen/cpu/vec/functional.h> #include <ATen/cpu/vec/vec.h> #include <ATen/native/Math.h> #include <ATen/native/...
34598eb3dd19aec86e29fdad371bc8887221abd5f892d3c71ba4c507d0d944a3
C++
58,477
2,238
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <gtest/gtest.h> #include <qnnpack/params.h> #include "convolution-operator-tester.h" usin...
a162dbab2e68d3ceedd33cab0e32321aa3bc1db1faa7465726bbd8c6e3a89868
C++
59,137
1,742
#define TORCH_ASSERT_NO_OPERATORS #include <c10/core/ScalarType.h> #include <c10/util/irange.h> #include <c10/util/hash.h> #include <optional> #include <ATen/cuda/CUDAContext.h> #include <ATen/cuda/detail/OffsetCalculator.cuh> #include <ATen/cuda/nvrtc_stub/ATenNVRTC.h> #include <ATen/code_template.h> #include <ATen/Op...
2bb436670a0075dd83be14b5c3cb104e4d6488e735b892c21a1d0ca98125feaa
C++
59,149
1,936
#define TORCH_ASSERT_ONLY_METHOD_OPERATORS #include <ATen/core/Tensor.h> #include <ATen/native/ConvUtils.h> #ifndef AT_PER_OPERATOR_HEADERS #include <ATen/Functions.h> #include <ATen/NativeFunctions.h> #else #include <ATen/ops/empty.h> #include <ATen/ops/empty_like.h> #include <ATen/ops/empty_native.h> #include <ATen/...
57ea3943bb896ed2d10ce69cc9b547349fbdc1009984b7946b0bf037b0fcbd51
C++
59,610
1,680
#define TORCH_ASSERT_ONLY_METHOD_OPERATORS #include <ATen/native/group_norm.h> #include <algorithm> #include <array> #include <numeric> #include <ATen/Dispatch.h> #include <ATen/OpMathType.h> #include <ATen/core/Tensor.h> #include <ATen/cpu/vec/functional.h> #include <ATen/cpu/vec/vec.h> #include <ATen/native/cpu/mix...
286489e09306f8584d82e5df4c02de98474f0f04889c96001a0997708653e855
C++
59,881
1,349
#include "../dep/laynii_lib.h" #include <set> int show_help(void) { printf( "LN3_LAYERS: !!!EXPERIMENTAL - OPTIMUM RAM USAGE TESTS!!!" "\n" "Usage:\n" " LN3_LAYERS -rim rim.nii\n" "\n" "Options:\n" " -help : Show this help.\n" " -rim : A segmented image. ...
1d18e806c9bc73507741a9fd690416bada073121c6fd019d7369d603f009f2a2
C++
59,960
1,070
#include "../dep/laynii_lib.h" int show_help(void) { printf( "LN2_DIRECTIONALITY_BIN: Estimates measure of columnarity \n" " and laminarity for binarizes maps \n" " with binarizes layers and columns as input.\n" "\n" "Usage:\n" " LN2_DIRECTI...
e513ccb7078f0c35e6c6b913aed27b229430ac9c6f8631252cd7d5d3538dc1b5
C++
59,984
1,547
/*************************************************************************** * * Author: "Sjors H.W. Scheres" * MRC Laboratory of Molecular Biology * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software F...
d17d1271916f90e179c3e2b9617bb91413993a49cce4fda5fb7f6f6dc1394581
C++
60,106
1,591
//*********************************************************************************************** // // Copyright (c) 1993-2000 Axon Instruments. // All rights reserved. // Permission is granted to freely to use, modify and copy the code in this file. // //************************************************...
c3649e4fb13675c200c3bbd963c90cf42757dd9608b53e7195a786a65c92003c
C++
60,806
1,291
#include <torch/library.h> #include <ATen/LegacyVmapTransforms.h> #include <ATen/LegacyBatchedFallback.h> #include <ATen/RedispatchFunctions.h> #include <ATen/native/ResizeCommon.h> #include <c10/util/irange.h> #include <utility> namespace at { // NOTE: [What is a batching rule?] // // A *batching rule* implements t...
1fb2107ebe0ea4d458018dbed03c8c49dee63a4268f9d9fe78d76813540fb9a6
C++
61,150
1,403
#define TORCH_ASSERT_ONLY_METHOD_OPERATORS #include <ATen/native/batch_norm.h> #include <ATen/core/Tensor.h> #include <ATen/AccumulateType.h> #include <ATen/Dispatch.h> #include <ATen/Parallel.h> #include <ATen/native/TensorIterator.h> #include <ATen/native/cpu/Loops.h> #include <ATen/native/cpu/utils.h> #include <ATe...
37958b5b0249c38399dbe3f8180358f50ec28d6137117b4088b5119d9fbc9ea1
C++
61,234
1,233
#define TORCH_ASSERT_ONLY_METHOD_OPERATORS #include <ATen/native/GridSampler.h> #include <ATen/native/GridSamplerUtils.h> #include <ATen/core/Tensor.h> #include <ATen/Dispatch.h> #include <ATen/OpMathType.h> #include <ATen/Parallel.h> #include <ATen/native/UpSample.h> #include <ATen/native/cpu/GridSamplerKernel.h> #inc...
688b54764619bdbe9a21a541927dcd0eaca8979fd4f67ba4a389074a3fced7aa
C++
62,785
1,659
#define TORCH_ASSERT_ONLY_METHOD_OPERATORS #include <ATen/native/BinaryOps.h> #include <type_traits> #include <utility> #include <ATen/core/Tensor.h> #include <ATen/ScalarOps.h> #include <ATen/TensorIterator.h> #include <ATen/TensorOperators.h> #include <ATen/TensorMeta.h> #ifndef AT_PER_OPERATOR_HEADERS #include <A...
df36175c76aa28d3ec4c7bb43ee6d4651cf7632dcb1b5e251e4c7b42ef36b55b
C++
64,036
1,400
#include "../dep/laynii_lib.h" #include <sstream> int show_help(void) { printf( "LN2_COLUMNS: Generate columns using the outputs of LN2_LAYERS.\n" " Designed to work both in 2D and 3D.\n" "\n" "Usage:\n" " LN2_COLUMNS -rim rim.nii -midgm rim_midgm_equidist.nii -nr_columns 100\n"...
a71a7ec9ba0532bf1380aa8ebc92975e4acb31414cd4b8eeeba650afe9e4490c
C++
64,558
1,742
#define TORCH_ASSERT_ONLY_METHOD_OPERATORS #define TORCH_ASSERT_NO_OPERATORS #include <ATen/TensorIterator.h> #undef TORCH_ASSERT_NO_OPERATORS #include <ATen/core/Tensor.h> #include <ATen/ExpandUtils.h> #include <ATen/Parallel.h> #include <ATen/native/TypeProperties.h> #include <ATen/MemoryOverlap.h> #include <ATen/n...
238eab965a0d8a025d57b1e620d09d4aac1c20f236e8b34352dc639eadaefc02
C++
65,490
2,397
#include <ATen/NativeFunctions.h> #include <ATen/native/cuda/linalg/CUDASolver.h> #include <c10/cuda/CUDACachingAllocator.h> #include <c10/macros/Export.h> namespace at::cuda::solver { template <> void getrf_bufferSize<double>( cusolverDnHandle_t handle, int m, int n, double* dA, int ldda, int* lwork) { TORCH_...
6764b81d3cb9d4e3ac81d60ff4d93c1a066e007ddde8e163ccab8a0f2a0dc3aa
C++
65,494
1,959
/*************************************************************************** * * Author: "Sjors H.W. Scheres" * MRC Laboratory of Molecular Biology * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software F...
09b6d36de26dc46329798c941939ec871d4086f119f8f75bd4a901f4f30602fc
C++
66,551
1,462
#include "../dep/laynii_lib.h" int show_help(void) { printf( "LN2_FLATTEN:\n" "\n" "!!! WORK IN PROGRESS !!!\n" "\n" "Usage:\n" " LN2_FLATTEN -rim rim.nii -midgm rim_midgm_equidist.nii\n" "\n" "Options:\n" " -help : Show this help.\n" " -rim : Segmentat...
8d2ec558d069b3b6cdfffa4223c4cf02c2584e6e13993576868cd47c31144658
C++
67,270
1,763
// See Note [BatchLinearAlgebraLib split implementation files] #define TORCH_ASSERT_ONLY_METHOD_OPERATORS #include <ATen/Context.h> #include <ATen/Dispatch.h> #include <ATen/ExpandUtils.h> #include <ATen/cuda/PinnedMemoryAllocator.h> #include <ATen/cuda/CUDABlas.h> #include <c10/cuda/CUDAStream.h> #include <c10/util/ir...
b159ca2f7671aa5fcbbe9a77b73d923b7fe58d6fe6887b1fe9faeef51e523b1a
C++
67,373
2,561
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <cpuinfo.h> #include <gtest/gtest.h> #include <qnnpack/isa-checks.h> #include <qnnpack/q8dw...
bc89cab5cac74670c6f7dd623708a02e5e3e3541296f793cd2f2eedc75e7ff6f
C++
67,391
1,734
#define TORCH_ASSERT_ONLY_METHOD_OPERATORS #include <ATen/Context.h> #include <ATen/Parallel.h> #include <ATen/TensorOperators.h> #include <ATen/core/Tensor.h> #include <ATen/core/List.h> #include <ATen/native/mkldnn/MKLDNNCommon.h> #include <ATen/native/quantized/PackedParams.h> #include <ATen/native/quantized/cpu/ACL...
4388fce92ac9f8996a109c083c24e4e13e4643a12d38b503bdca93b3b1ba0abb
C++
69,193
1,726
#include "./laynii_lib.h" // ============================================================================ // Command-line log messages // ============================================================================ void log_welcome(const char* programname) { cout << "======================="<< endl; cout << ...
ad9d239866c764581e0a48807b35f06abd23ea4f5cbf5a87f365c70d5455d8ff
C++
71,050
1,778
#include <c10/util/Exception.h> #define TORCH_ASSERT_ONLY_METHOD_OPERATORS #include <ATen/Dispatch.h> #include <ATen/Parallel.h> #include <ATen/TensorOperators.h> #include <ATen/TensorSubclassLikeUtils.h> #include <ATen/TensorUtils.h> #include <ATen/cpu/vec/vec.h> #include <ATen/native/EmbeddingBag.h> #include <ATen/n...
b7a3bfc016a7497bd002e4c0d5da2c74c492e7b7d9af5a0bdbc846c1f6d2160d
C++
72,151
2,278
#define TORCH_ASSERT_ONLY_METHOD_OPERATORS #include <ATen/native/TensorFactories.h> #include <ATen/CPUGeneratorImpl.h> #include <ATen/Dispatch.h> #include <ATen/EmptyTensor.h> #include <ATen/ExpandUtils.h> #include <ATen/MapAllocator.h> #include <ATen/Parallel.h> #include <ATen/SparseCsrTensorUtils.h> #include <ATen/T...
e019c1acf6e7e4c93dfb92374e58d469162f02c0962247e9f232d1a5755757c0
C++
72,261
1,978
// This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License // as published by the Free Software Foundation; either version 2 // of the License, or (at your option) any later version. // This program is distributed in the hope that it will be useful, ...
0dfff2e080c1e5f38bc5937b8e810f132a026265deb09e5f66b0697e30296483
C++
74,620
2,009
// This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License // as published by the Free Software Foundation; either version 2 // of the License, or (at your option) any later version. // This program is distributed in the hope that it will be useful, ...
89bbfea33c3fee7db7ba842a6121c58bf0d46743a6f0fd8ac57bce80426facfa
C++
76,893
1,986
//*********************************************************************************************** // // Copyright (c) 1993-1997 Axon Instruments. // All rights reserved. // Permission is granted to freely to use, modify and copy the code in this file. // //************************************************...
0c6c057f67fe911f1bba558f88226e2a5469f148ed86736688eaee99f671e9f0
C++
77,271
2,207
//*********************************************************************************************** // // Copyright (c) 1993-2000 Axon Instruments. // All rights reserved. // Permission is granted to freely to use, modify and copy the code in this file. // //************************************************...
6d61677343ee9ef6393eba9b0c7ddc4232f18c5beed8976a654491a001be7b30
C++
78,278
3,160
/*************************************************************************** * * Author: "Sjors H.W. Scheres" * MRC Laboratory of Molecular Biology * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software F...
25859f03f9dd45b7618893cf49fcba66906b4f5d97acaf2a017c36a42af29056
C++
78,716
2,346
/*************************************************************************** * * Author: "Sjors H.W. Scheres" * MRC Laboratory of Molecular Biology * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software F...
9c03dd6b9032ae9cec41c32c042fc56ad3a8cea14867c7ab12697daea6bf7386
C++
80,568
1,854
#include <algorithm> #include <cstdint> #include <c10/util/typeid.h> #include <c10/util/Exception.h> #include <c10/util/SmallVector.h> #include <c10/core/Scalar.h> #include <c10/core/ScalarType.h> #define TORCH_ASSERT_ONLY_METHOD_OPERATORS #include <ATen/core/Tensor.h> #include <ATen/Dispatch.h> #include <ATen/ExpandUt...
36abc17a4913e90a7722b7e0343d70d5d78dae2a5bde7f9866061d75dcbe96e7
C++
82,272
2,276
#include "wx/wxprec.h" #ifndef WX_PRECOMP #include "wx/wx.h" #endif #include "./../app.h" #include "./cursorsdlg.h" #include "./../doc.h" #include <wx/aui/aui.h> enum { wxLOADCRS, wxSAVECRS, wxCOMBOUM, wxCOMBOU1P, wxCOMBOU2P, wxCOMBOU1B, wxCOMBOU2B, wxCOMBOU1D, ...
de79b58782d95a96425cf0b7ff349649d92d6586cbecd6163f4bcf98a00be02f
C++
83,256
2,277
#include <limits> #include <ATen/ATen.h> #include <ATen/cuda/CUDAConfig.h> #if AT_CUDNN_ENABLED() #include <ATen/cudnn/cudnn-wrapper.h> #if defined(__has_include) && __has_include(<cudnn_frontend_version.h>) #include <cudnn_frontend_version.h> #endif #endif namespace at::native { // Check the pointer and stride ali...
32f855ef5dd682b3c52e99c8f6d14e43b86f90b2e379b20f0e11eb795a61da98
C++
83,569
2,393
/*************************************************************************** * * Author: "Sjors H.W. Scheres" * MRC Laboratory of Molecular Biology * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software F...
518bab730be4a3ae17c236546caf0e34eb232c358b5d7951c4f35b70034f529e
C++
83,882
3,870
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <cpuinfo.h> #include <gtest/gtest.h> #include <qnnpack/isa-checks.h> #include <qnnpack/q8ge...
4ad7cb578983d930595712a831795686ec587183f89ef7e9fcad3629cdf3050f
C++
84,301
2,589
/*************************************************************************** * * Author: "Sjors H.W. Scheres" * MRC Laboratory of Molecular Biology * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software F...
b9d4a697860f1584a3ca8ac519f2b5fe863e95108256b54f99343883a62ad81b
C++
84,903
2,294
/*************************************************************************** * * Author: "Liyi Dong and Sjors H.W. Scheres" * MRC Laboratory of Molecular Biology * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the ...
e0028c38dac0616d8bd604f49a9fbaa2d963ade610857373641260120e55bbf4
C++
86,628
1,868
// TODO(Faruk): Curvature shows some artifacts in rim_circles test case. Needs // further investiation. // TODO(Faruk): Memory usage is a bit sloppy for now. Low priority but might // need to have a look at it in the future if we start hitting ram limits. // NOTE(Faruk): Might put neighbour visits into a function. // N...
29ed378a4b46178e283cd7964018263c9f0e12526664aedfacfcf1d19c2e8a8e
C++
86,663
2,665
/*************************************************************************** * * Author: "Sjors H.W. Scheres" * MRC Laboratory of Molecular Biology * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software F...
3130e86b56234a8da4c6347d973721d49845d1c7cdbdad2e27dd11f4f869d708
C++
86,954
2,226
#define TORCH_ASSERT_ONLY_METHOD_OPERATORS #include <ATen/core/Tensor.h> #include <ATen/Context.h> #include <ATen/Dispatch.h> #include <ATen/Parallel.h> #include <ATen/TensorIterator.h> #include <ATen/cpu/vec/vec.h> #include <ATen/native/UpSample.h> #include <ATen/native/cpu/utils.h> #include <c10/util/irange.h> #inclu...
81b7019d5e7a31ba1f72d8d50a635f1dd637b827f75000fa85dfaf34bb5b9c3f
C++
87,920
2,520
// #define TORCH_ASSERT_ONLY_METHOD_OPERATORS #include <ATen/ATen.h> #include <ATen/Dispatch.h> #include <ATen/Parallel.h> #include <ATen/TensorOperators.h> #include <ATen/core/Tensor.h> #include <ATen/quantized/Quantizer.h> #include <optional> #ifndef AT_PER_OPERATOR_HEADERS #include <ATen/Functions.h> #include <ATen...
3ff88c025c7b4089b092494b1514520fd521624c62029fa0b3223a77958262ff
C++
88,544
2,268
#define TORCH_ASSERT_ONLY_METHOD_OPERATORS #include <algorithm> #include <cmath> #include <string> #include <vector> #include <ATen/core/Tensor.h> #include <ATen/core/List.h> #include <ATen/Context.h> #include <ATen/Parallel.h> #include <ATen/TensorOperators.h> #include <ATen/SmallVector.h> #include <ATen/native/quant...
78054c6d5573ea7afe615eb85c0f31797db660e5823b4977e9539957663c5be2
C++
88,621
2,385
#define TORCH_ASSERT_ONLY_METHOD_OPERATORS #include <ATen/native/ReduceOps.h> #include <ATen/core/Tensor.h> #include <ATen/AccumulateType.h> #include <ATen/Dispatch.h> #include <ATen/Dispatch_v2.h> #include <ATen/MemoryOverlap.h> #include <ATen/Parallel.h> #include <ATen/WrapDimUtils.h> #include <ATen/WrapDimUtilsMult...
7a4628e4b6d57f8ddf0cef0dfc3db6a3ac2ddcad2b0f6d42949a8a22f83037a0
C++
88,904
2,837
#define TORCH_ASSERT_ONLY_METHOD_OPERATORS #include <ATen/MatrixRef.h> #include <ATen/TensorUtils.h> #include <ATen/core/Tensor.h> #include <ATen/cuda/CUDAConfig.h> #include <ATen/cuda/Exceptions.h> #include <ATen/native/RNN.h> #include <c10/util/Exception.h> #include <c10/util/accumulate.h> #include <c10/util/irange.h...
d7063e71a25b38c3c2217084240e1705ea2c812cc3156d4887b4fac7e331dcea
C++
91,112
3,288
/*************************************************************************** * * Author: "Jasenko Zivanov" * MRC Laboratory of Molecular Biology * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foun...
0e4c233f8a80bfbe46a9ad6d7b61a8740ad2f8ae792271bd64999ec894432de8
C++
91,780
2,617
// This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License // as published by the Free Software Foundation; either version 2 // of the License, or (at your option) any later version. // This program is distributed in the hope that it will be useful, ...
6e4ceaba0abb1ad6512760d345533b52337946bb0b3dbd047a434b687a99f3af
C++
95,868
2,125
#define TORCH_ASSERT_ONLY_METHOD_OPERATORS #include <ATen/native/RNN.h> #include <ATen/core/Tensor.h> #include <ATen/core/List.h> #include <ATen/Config.h> #include <ATen/Context.h> #include <ATen/TensorOperators.h> #include <ATen/mps/MPSDevice.h> #include <ATen/native/quantized/PackedParams.h> #include <ATen/native/qu...
03c4a09e8001146429f692d63735ccf5c85f4e08b863988378327b98c10f3e82
C++
98,525
2,809
/*************************************************************************** * * Author: "Shaoda He" * MRC Laboratory of Molecular Biology * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation...
cf21cf29ca9c4d16d0012b5d54c6adf249b3092a745bba347d19d7d7141e549e
C++
100,058
2,684
/*************************************************************************** * * Author: "Sjors H.W. Scheres" * MRC Laboratory of Molecular Biology * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software F...
54809d0053d729f1ea2ec5ca17171a583a3c4ab0188cd1e7df2d572ff92085ce
C++
101,393
2,935
/* Provides the implementations of CUDA BLAS function templates. */ #include <ATen/cuda/CUDAContextLight.h> #include <ATen/cuda/CUDABlas.h> #include <ATen/cuda/Exceptions.h> #include <ATen/cuda/CUDADataType.h> #include <ATen/cuda/tunable/Tunable.h> #include <ATen/cuda/tunable/TunableGemm.h> #include <c10/macros/Exp...
fd9120bf9694695b235129cb7732076b80fa9311263ec493f25f211ebbece6a0
C++
102,530
2,281
/** * This file contains some general registration test cases. * More detailed test cases containing different APIs for registering kernels * are found in other files in this directory. */ #include <gtest/gtest.h> // This file intentionally tests some deprecated APIs #pragma GCC diagnostic push #pragma GCC diagno...
88a1b52fde009482ab285c1d33a8ebe33e8d674a6ef299b2a2c7a69eb4912779
C++
103,506
2,400
#define TORCH_ASSERT_ONLY_METHOD_OPERATORS #include <ATen/core/Tensor.h> #include <ATen/Config.h> #include <ATen/Parallel.h> #include <ATen/TensorOperators.h> #include <ATen/native/CanUse32BitIndexMath.h> #include <ATen/native/ConvolutionMM3d.h> #include <ATen/native/ConvUtils.h> #include <ATen/native/Pool.h> #include ...
63627a96b75261f15c956a871be1ab43b4d8ce619fa7a125d518b59da0f444bb
C++
103,753
2,877
/*************************************************************************** * * Author: "Sjors H.W. Scheres" * MRC Laboratory of Molecular Biology * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software F...
bce828b8fb478afd7c7328b597252eb3046ce3de0e750d48c65711257de6466a
C++
106,748
3,173
// Indexing tensors by by tensors // // This corresponds to "advanced indexing" in NumPy. The two operations are: // // index(Tensor self, indices) -> Tensor // index_put_(Tensor self, indices, value, accumulate=false) // // The index is a TensorList containing kLong, kBool or kByte tensors or nulls. // Byte tensors ...
ceccfeb193767c98f826b9ba291a296f410990c03c5c3028e52002c2cb763da9
C++
111,085
1,923
#include "ida_GUI.h" #include "ida_GUI_slices.h" #include <iostream> #include <fstream> namespace IDA { void RenderUI(bool& show_demo_window, bool& show_file_window, IDA_IO::FileList& fl) { // ============================================================================================================ ...
32ab5c7aeaaaa3dbb422a87358f1c80a40aed2ca7a07b0d82a89f68827a35837
C++
119,828
3,647
/*************************************************************************** * * Author: "Sjors H.W. Scheres" * MRC Laboratory of Molecular Biology * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software F...
0ceef4692a349fd4f521a1606a39103ee54abb73fc14d22cc2711fe599c8e5b5
C++
144,429
3,801
#define TORCH_ASSERT_ONLY_METHOD_OPERATORS #include <ATen/Context.h> #include <ATen/Dispatch.h> #include <ATen/ExpandUtils.h> #include <ATen/OpMathType.h> #include <ATen/Parallel.h> #include <ATen/TensorIndexing.h> #include <ATen/TensorIterator.h> #include <ATen/TensorOperators.h> #include <ATen/TensorSubclassLikeUtils...
79f3ba0f3a78eeebdd7e09c50eafcaddec8ca02c15469d332624a1cfcdcfe311
C++
151,383
4,334
/*************************************************************************** * * Author: "Sjors H.W. Scheres" * MRC Laboratory of Molecular Biology * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software ...
68c9f3a3c4d7ef77d891debf4de181abd15861251eaf27257f66dbc9f8f4aed1
C++
151,597
4,140
// This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License // as published by the Free Software Foundation; either version 2 // of the License, or (at your option) any later version. // This program is distributed in the hope that it will be useful, ...
740b28be81fd71a4db1c27bf1765ab74d23a878fc083866d2746c38fa02d6b39
C++
152,281
3,180
#include "../dep/laynii_lib.h" #include <sstream> int show_help(void) { printf( "LN2_MULTILATERATE: Injects a coordinate system upon a region of the rim file.\n" " These coordinates can be used to flatten chunks of the brain.\n" " Or, to generate bins/cells (subsets ...
1bb850940170c65f3cdaf3a63dde4c35de5ce86b8925e38676b325942d75efe3
C++
157,983
4,269
/*************************************************************************** * * Author: "Sjors H.W. Scheres" * MRC Laboratory of Molecular Biology * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software F...
44c04643eb9caf05ee989e7ed8624351536f05d681761c3365f9c6902deacf7f
C++
166,262
4,043
#define TORCH_ASSERT_ONLY_METHOD_OPERATORS #include <ATen/core/Tensor.h> #include <ATen/core/grad_mode.h> #include <ATen/Dispatch.h> #include <ATen/TensorMeta.h> #include <ATen/TensorOperators.h> #include <ATen/TensorSubclassLikeUtils.h> #include <ATen/native/BatchLinearAlgebra.h> #include <ATen/native/LinearAlgebraUt...
1c5b6ac907f7bc38527f367227de150128de03ae69d5d46f9c68f7abd5616ab0
C++
170,610
4,448
//*********************************************************************************************** // // Copyright (c) 1993-2000 Axon Instruments. // All rights reserved. // Permission is granted to freely to use, modify and copy the code in this file. // //************************************************...
ea89ebf0352140a392c29db196c010e8c715b9f98f774b47e8a25e0ca8d542ba
C++
172,416
4,875
#include <ATen/WrapDimUtilsMulti.h> #include <ATen/core/ATen_fwd.h> #include <c10/core/ScalarType.h> #include <c10/core/SymInt.h> #define TORCH_ASSERT_ONLY_METHOD_OPERATORS #include <ATen/AccumulateType.h> #include <ATen/Dispatch.h> #include <ATen/ExpandUtils.h> #include <ATen/InferSize.h> #include <ATen/MemoryOverlap....
cb1d2de16e37ff96e7c7c4384e7fc976bd1121d90c8cbfc19ceb5f11d440d018
C++
181,676
4,725
#define TORCH_ASSERT_ONLY_METHOD_OPERATORS #include <ATen/core/Tensor.h> #include <ATen/core/List.h> #include <ATen/Dispatch.h> #include <ATen/Parallel.h> #include <ATen/native/Activation.h> #include <ATen/native/TopKImpl.h> #include <ATen/native/TensorIterator.h> #include <ATen/native/UpSample.h> #include <ATen/native...
993c5eb5aa3d332227af91efd68fc5ff8d8e1c89bdb7c1f7bfe63adb8fc5a2a7
C++
184,142
5,015
// Copyright 2005, Google Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of conditions ...
1bfe28c5973dd0b6a53b72e06b6ff81dea7f6e2bc875f0c345ba78a6ffad874f
C++
200,000
4,050
// dear imgui, v1.90.1 WIP // (drawing and font code) /* Index of this file: // [SECTION] STB libraries implementation // [SECTION] Style functions // [SECTION] ImDrawList // [SECTION] ImDrawListSplitter // [SECTION] ImDrawData // [SECTION] Helpers ShadeVertsXXX functions // [SECTION] ImFontConfig // [SECTION] ImFon...
47728d7c1033f680c46fc4a170dfde6153c2b5663a7908fb5f7cb4657ae9e93d
C++
200,000
3,697
// dear imgui, v1.90.1 WIP // (demo code) // Help: // - Read FAQ at http://dearimgui.com/faq // - Call and read ImGui::ShowDemoWindow() in imgui_demo.cpp. All applications in examples/ are doing that. // - Need help integrating Dear ImGui in your codebase? // - Read Getting Started https://github.com/ocornut/imgui/w...
55e38d7dedcd2e7e603739cb67f2a12332f9844c93c0a21388e5b7c76fc31d2b
C++
200,000
4,437
/* Generated by Cython 3.0.11 */ /* BEGIN: Cython Metadata { "distutils": { "depends": [ "C:\\Users\\LinLab_Workstation4\\Documents\\GitHub\\AutoPhotoPicking\\.venv\\lib\\site-packages\\numpy\\core\\include\\numpy\\arrayobject.h", "C:\\Users\\LinLab_Workstation4\\Documents\\GitHub\\...
61e338acc359b8c8cce92267b9b0d6bdefc5605d405b0311dd994247ffb4cc35
C++
200,000
4,113
// dear imgui, v1.90.1 WIP // (widgets code) /* Index of this file: // [SECTION] Forward Declarations // [SECTION] Widgets: Text, etc. // [SECTION] Widgets: Main (Button, Image, Checkbox, RadioButton, ProgressBar, Bullet, etc.) // [SECTION] Widgets: Low-level Layout helpers (Spacing, Dummy, NewLine, Separator, etc.)...
897b6b0bd9fcc2252064b3ddb9d619b617654114688ed7a6d512e8178f770db9
C++
200,000
3,583
// dear imgui, v1.90.1 WIP // (tables and columns code) /* Index of this file: // [SECTION] Commentary // [SECTION] Header mess // [SECTION] Tables: Main code // [SECTION] Tables: Simple accessors // [SECTION] Tables: Row changes // [SECTION] Tables: Columns changes // [SECTION] Tables: Columns width management // [...
9b82609da369eb2eb0584521abe8d77363a3b59aafb9d888153576d40f7a980f
C++
200,000
4,262
/*************************************************************************** * * Author: "Sjors H.W. Scheres" * MRC Laboratory of Molecular Biology * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software F...
af1d3ff31d21733cb96e0ab84282849fb37031a08b7ed952f5e129c6cea92916
C++
200,000
5,489
/*************************************************************************** * * Author: "Shaoda He" * MRC Laboratory of Molecular Biology * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation...
ef7452cb9332bbbd9765e2022dafad24970bedc73f194c1a51c3552886da4041
C++
200,000
3,165
// dear imgui, v1.90.1 WIP // (main code and documentation) // Help: // - See links below. // - Call and read ImGui::ShowDemoWindow() in imgui_demo.cpp. All applications in examples/ are doing that. // - Read top of imgui.cpp for more details, links and comments. // Resources: // - FAQ https://deari...
beddb6ca111addbba9b6ee017dcfd6424482e08a52d6effeb259f3a404565931
C++
200,001
5,401
#define _NIFTI2_IO_C_ #include "nifti2_io.h" /* typedefs, prototypes, macros, etc. */ #include <math.h> #include <stdio.h> /*****===================================================================*****/ /***** Sample functions to deal with NIFTI-1,2 and ANALYZE files *****/ /*****..............................
1d41fa27274dbd09a61fd41a9eb68456d68066426ed70184c24241fd0aac4c58
C++
200,004
17,029
/// This file contains tensor-agnostic SoboleEngine constants #define TORCH_ASSERT_ONLY_METHOD_OPERATORS #include <ATen/native/SobolEngineOpsUtils.h> /* The direction numbers in this file were generated using the python script below (thius this assumes that the file https://web.maths.unsw.edu.au/~fkuo/sobol/new-joe-k...
c3a6feed26e2310ddb58a608db30ba1a65c038c0c950012cd2a378536022d2ff
C++
200,010
3,830
/*************************************************************************** * * Author: "Sjors H.W. Scheres" * MRC Laboratory of Molecular Biology * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software F...
eb07cb6dbf94a6f7032420bdfa12eb811b2e2939701f6b26d8bb39034f028e83
C/C++
20
1
void unset_trace();
92e131bb2d6ee40df801322e51481ffda3d662f28a5d0c1f13438bb47b3c8613
C/C++
29
1
#include <c10/util/typeid.h>
ebff1374dd7575fe6f69b590091df4ce34854cb41bc27b1431359fcca68cfec3
C/C++
29
1
#include <c10/core/Scalar.h>