This repository has been archived on 2026-05-02. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
-----/agent_diy/algorithm/algorithm.py
2026-04-26 12:38:39 +08:00

33 lines
755 B
Python

#!/usr/bin/env python3
# -*- coding: UTF-8 -*-
###########################################################################
# Copyright © 1998 - 2026 Tencent. All Rights Reserved.
###########################################################################
"""
Author: Tencent AI Arena Authors
Robot Vacuum DIY algorithm implementation.
清扫大作战 DIY 算法实现。
"""
class Algorithm:
"""DIY algorithm class.
DIY 算法类。
"""
def __init__(self, model, optimizer, scheduler, device=None, logger=None, monitor=None):
"""Initialize the algorithm.
初始化算法。
"""
pass
def learn(self, list_sample_data):
"""Training entry.
训练入口。
"""
pass