mirror of
http://124.126.16.154:8888/singularity/HyperfDevelopmentKit.git
synced 2026-01-15 00:35:08 +08:00
docs(studio): 对 Lattice 模型添加 @property 注解
Signed-off-by: 李东云 <dongyun.li@luxcreo.ai>
This commit is contained in:
@@ -37,6 +37,8 @@ use Singularity\HDK\Utils\Resource\ClassicResponse;
|
||||
* @property \Carbon\Carbon $createdAt
|
||||
* @property \Carbon\Carbon $updatedAt
|
||||
* @property string $deletedAt
|
||||
*
|
||||
* @property array $evaluation 性能评估
|
||||
*/
|
||||
class Lattice extends JsonResource
|
||||
{
|
||||
@@ -61,6 +63,7 @@ class Lattice extends JsonResource
|
||||
'a' => (float)$this->a,
|
||||
'b' => (float)$this->b,
|
||||
'c0' => (float)$this->c0,
|
||||
'evaluation' => LatticeEvaluation::make($this->evaluation),
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user