From d0adc15f82af0cb6842e9d7fc1859a3bc8d1f74d Mon Sep 17 00:00:00 2001 From: Xie Yuheng Date: Wed, 29 May 2024 01:46:39 +0800 Subject: [PATCH] [system-a] rename `networks/` to `models/` --- TODO.md | 1 + .../iris/irisNetwork.ts => models/irisModel.ts} | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) rename src/system-a/{networks/iris/irisNetwork.ts => models/irisModel.ts} (62%) diff --git a/TODO.md b/TODO.md index a956a27..de7c0c6 100644 --- a/TODO.md +++ b/TODO.md @@ -1,5 +1,6 @@ # system-a +[system-a] `irisModel` [system-a] `irisTestXs`, `irisTestYs` [system-a] `irisTrainXs`, `irisTrainYs` [system-a] `model` diff --git a/src/system-a/networks/iris/irisNetwork.ts b/src/system-a/models/irisModel.ts similarity index 62% rename from src/system-a/networks/iris/irisNetwork.ts rename to src/system-a/models/irisModel.ts index 6386ba8..d58eb46 100644 --- a/src/system-a/networks/iris/irisNetwork.ts +++ b/src/system-a/models/irisModel.ts @@ -1,8 +1,8 @@ -import { blockStack, denseBlock } from "../../block/index.js" -import type { Tensor } from "../../tensor/Tensor.js" -import { randomTensor } from "../../tensor/randomTensor.js" -import type { Shape } from "../../tensor/shape.js" -import { zeroTensor } from "../../tensor/zeroTensor.js" +import { blockStack, denseBlock } from "../block/index.js" +import type { Tensor } from "../tensor/Tensor.js" +import { randomTensor } from "../tensor/randomTensor.js" +import type { Shape } from "../tensor/shape.js" +import { zeroTensor } from "../tensor/zeroTensor.js" export const irisNetwork = blockStack([denseBlock(4, 6), denseBlock(6, 3)])