fovi.arch package
KNN layers and shared neural-network primitives.
Complete architectures live in fovi.models.
Modules
- fovi.arch.grid_pool_warp
- fovi.arch.knn
KNNBaseLayerKNNGetterLayerKNNPoolingLayerKNNConvLayerKNNConvLayer.__init__()KNNConvLayer._init_conv_like()KNNConvLayer._pad_and_gather_knns()KNNConvLayer._apply_local_rf()KNNConvLayer._apply_local_rf_to_weights()KNNConvLayer.forward()KNNConvLayer.clear_optimized_cache()KNNConvLayer.compute_reference_coords()KNNConvLayer.compute_local_rf()KNNConvLayer.load_conv2d_weights()KNNConvLayer.load_conv3d_weights()
KNNDepthwiseSeparableConvLayerKNNDepthwiseConvLayercompute_receptive_field()compute_binary_receptive_field()get_in_out_coords()get_knn_conv_layer()
- fovi.arch.knn_autograd
dataclass()TrainingMetaTrainingMeta.cinTrainingMeta.coutTrainingMeta.ninTrainingMeta.noutTrainingMeta.kTrainingMeta.vTrainingMeta.pTrainingMeta.p64TrainingMeta.qTrainingMeta.input_linearTrainingMeta.weight_linearTrainingMeta.input_linear_flatTrainingMeta.weight_linear_flatTrainingMeta.rev_rowptrTrainingMeta.rev_colTrainingMeta.deviceTrainingMeta.__init__()
ensure_training_metadata()_nout_chunk()_pad_flat_input()_effective_weight_t()CompactTorchOpsregister_ops()KNNConvFunctioncompact_forward()scatter_forward()
- fovi.arch.knn_bank
cache()PathPath.cwd()Path.home()Path.samefile()Path.iterdir()Path.glob()Path.rglob()Path.absolute()Path.resolve()Path.stat()Path.owner()Path.group()Path.open()Path.read_bytes()Path.read_text()Path.write_bytes()Path.write_text()Path.readlink()Path.touch()Path.mkdir()Path.chmod()Path.lchmod()Path.unlink()Path.rmdir()Path.lstat()Path.rename()Path.replace()Path.symlink_to()Path.hardlink_to()Path.link_to()Path.exists()Path.is_dir()Path.is_file()Path.is_mount()Path.is_symlink()Path.is_block_device()Path.is_char_device()Path.is_fifo()Path.is_socket()Path.expanduser()
FunctionCtxincidence_tables()cuda_kernels()IncidenceBankProject
- fovi.arch.knn_cuda
- fovi.arch.knn_gather_gemm
- fovi.arch.knn_optimization
- fovi.arch.knn_pool_cuda
- fovi.arch.knn_warp
_make_uncached_r2_kernel()_make_uncached_r4_kernel()_canary_launch_ok()_get_uncached_batch_config()_select_uncached_batch_config()_pad_bias_to_tiles()run_cached()_make_grad_input_stage2_kernel()_make_grad_weight_stage3_kernel()_make_grad_weight_stage4_kernel()_make_grad_weight_stage2_kernel()_canary_grad_stage_ok()_get_grad_kernel()_pad_flat_input_fp16()grad_input()grad_weight()WarpCompactOpsWarpTrainOps_register_ops()run_uncached()
- fovi.arch.mlp
- fovi.arch.modal
- fovi.arch.norm
- fovi.arch.polar
- fovi.arch.pooling
- fovi.arch.wrapper