Compare commits

..

No commits in common. "v0.0.1" and "main" have entirely different histories.
v0.0.1 ... main

2 changed files with 14 additions and 52 deletions

14
Page.interface.txt Normal file
View File

@ -0,0 +1,14 @@
interface Container {
name: 容器名
type: 页面容器tab容器弹窗容器
components: [componentcomponentcomponent]
}
interface Component extend Container{
name:
type
props
}
// 每个容器组件有对应的渲染模板来渲染包含的子组件如tabs用的是TabContainer.templateModal用的是Modal.template生成单独的modal.vue文件

View File

@ -1,52 +0,0 @@
# PIPELINE DEFINITION
# Name: sample-pipeline
# Inputs:
# batch_size: int
components:
comp-train:
executorLabel: exec-train
inputDefinitions:
parameters:
batch_size:
parameterType: NUMBER_INTEGER
outputDefinitions:
artifacts:
model:
artifactType:
schemaTitle: system.Model
schemaVersion: 0.0.1
parameters:
batch_size:
parameterType: NUMBER_INTEGER
deploymentSpec:
executors:
exec-train:
container:
args:
- echo 'I am a model' > {{$.outputs.artifacts['model'].path}}
command:
- sh
- -c
image: python:3.10
pipelineInfo:
name: sample-pipeline
root:
dag:
tasks:
train:
cachingOptions:
enableCache: true
componentRef:
name: comp-train
inputs:
parameters:
batch_size:
componentInputParameter: batch_size
taskInfo:
name: train
inputDefinitions:
parameters:
batch_size:
parameterType: NUMBER_INTEGER
schemaVersion: 2.1.0
sdkVersion: kfp-2.4.0