MCPcopy Create free account

hub / github.com/breeze-sys/Label-Only-MIA-Go / types & classes

Types & classes40 in github.com/breeze-sys/Label-Only-MIA-Go

↓ 2 callersClassBatchPredictResponse
python_server/server.py:108
↓ 2 callersClassCNN
python_server/classifier.py:27
↓ 2 callersTypeAliasImage
========================================== 2. 核心数据类型 ========================================== Image 基础数据单元
pkg/core/definitions.go:18
↓ 2 callersClassRand_Augment
python_server/utils.py:149
↓ 1 callersClassPredictResponse
python_server/server.py:101
↓ 1 callersClassShadowJSONDataset
python_server/calc_thresholds.py:16
StructAttackResult
AttackResult 仅作为 Attacker (如 HSJA) 的原始输出 ⚠️【修复点】:补全了 HSJA 算法需要的所有字段
pkg/core/definitions.go:44
InterfaceAttacker
Attacker 接口
pkg/core/definitions.go:73
StructAuditPool
AuditPool 审计工厂,负责大规模并发调度
pkg/worker/pool.go:11
StructAuditResult
AuditResult 存储多维审计报告 (给 main.go 做统计用的)
pkg/core/definitions.go:31
StructAuditThresholds
pkg/audit/engine.go
pkg/audit/engine.go:18
ClassBatchPredictRequest
python_server/server.py:105
StructCifarLoader
pkg/dataset/cifar10.go:13
StructEngine
pkg/audit/engine.go:30
StructHSJA
pkg/attack/hsja.go:18
StructHSJAConfig
pkg/attack/hsja.go:9
StructHTTPClient
========================================== 1. 结构体与通信协议定义 ==========================================
pkg/client/http_client.go:17
ClassMemGuard
python_server/classifier.py:66
InterfaceModel
========================================== 3. 接口契约 ========================================== Model 接口
pkg/core/definitions.go:59
ClassPredictRequest
python_server/server.py:98
StructRelabeler
pkg/worker/relabel.go:9
StructSample
Sample 代表一个测试样本
pkg/core/definitions.go:21
StructShadowData
对应你导出的 JSON 结构
verify/pth/check_pth.go:13
StructShadowExportRecord
专门为 Python 训练定义的导出格式
scripts/relabel/relabel_data.go:16
StructauditReport
main.go:79
StructauditRequest
main.go:94
StructbatchRequest
批量请求体 (用于 PredictBatch)
pkg/client/http_client.go:38
StructbatchResponse
pkg/client/http_client.go:42
StructbenchResult
bench_test.go:14
StructcliOptions
main.go:89
StructconsolePageData
main.go:123
StructlogitsResponse
分数返回体 (用于 PredictLogits - 核心新增!)
pkg/client/http_client.go:33
StructmetricSummary
main.go:48
StructreportSample
main.go:66
StructrequestBody
单图请求体
pkg/client/http_client.go:23
StructresponseBody
标签返回体 (用于 Predict)
pkg/client/http_client.go:28
StructrunConfig
main.go:25
Structsample
bench_test.go:179
StructserviceHealth
main.go:109
StructstatusResponse
main.go:118