Initial robot vacuum code
This commit is contained in:
32
agent_diy/algorithm/algorithm.py
Normal file
32
agent_diy/algorithm/algorithm.py
Normal file
@@ -0,0 +1,32 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user