文档
-
学生
-
老师
-
编程
-
-
-
- 以 Unix 时间创建 DateTimeOffset
- 以不同单位创建 DateTimeOffset
- 以其他格式显示时间
- 以毫秒显示DateTimeOffset
- 使用当前时间创建DateTimeOffset
- 将 DateTimeOffset 与新的协调世界时偏移量合并
- 将 DateTimeOffset 变更成字串格式
- 将文字转换为 DateTimeOffset 格式
- 将间距加到dateTimeOffset
- 检查DateTimeOffset是否在正确的数据类型
- 检查两个DateTimeOffsets是否相同
- 计算两个DateTimeOffsets之间的间距
- 设定协调世界时偏移量
- 转换DateTimeOffset为字串
-
Print
显示在图像模型中类别的总数
ImageModel取得类别总数
{"blocks":"imageModel "}
这积木是用作取得类别的总数
参数:人工智能模型(Teachable Machine图像模型)
输出:数字
示例代码:
{"blocks":"mainLayout mainScreen imageModel classify total dateTimeOffset mainLayout 0 mainScreen 0 Main mainLayout imageModel 0 https://teachablemachine.withgoogle.com/models/tghdF3FXI/ classify 0 imageModel https://image.shutterstock.com/image-photo/boy-raising-two-fingers-on-260nw-297974771.jpg total 0 imageModel mainLayout https://image.shutterstock.com/image-photo/boy-raising-two-fingers-on-260nw-297974771.jpg mainLayout classify mainLayout total "}
输出结果:
參考:
- 已训练的Google Teachable Machine模型: https://teachablemachine.withgoogle.com/models/tghdF3FXI/
- 此例子中使用的图片: https://image.shutterstock.com/image-photo/boy-raising-two-fingers-on-260nw-297974771.jpg