This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| """ | |
| Consolidated Anomaly Detector with Batched TTA | |
| This module provides a modern, consolidated implementation of anomaly detection | |
| with DeCo-Diff using efficient batched Test-Time Augmentation (TTA). | |
| Key Features: | |
| - Combined Batch TTA: Processes B images × N shifts together (~6.6× speedup) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { lib, config, options, pkgs, ... }: | |
| with lib; | |
| let cfg = config.services.chrome-remote-desktop; | |
| in { | |
| options.services.chrome-remote-desktop = { | |
| enable = mkEnableOption "Chrome Remote Desktop"; | |
| user = mkOption { | |
| type = types.str; | |
| description = '' | |
| A user which the service will run as. |