This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Autogenerated using ProtoBuf.jl v1.0.6 on 2023-03-19T22:26:02.274 | |
# original file: /home/azbs/data/onnx/onnx.proto3 (proto3 syntax) | |
import ProtoBuf as PB | |
using ProtoBuf: OneOf | |
using EnumX: @enumx | |
export Version, var"TensorProto.Segment", var"TensorShapeProto.Dimension" | |
export StringStringEntryProto, OperatorStatus, OperatorSetIdProto | |
export var"TensorProto.DataLocation", var"AttributeProto.AttributeType" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Overhead ╎ [+additional indent] Count File:Line; Function | |
========================================================= | |
╎24825 @Base/task.jl:484; (::VSCodeServer.var"#61#62")() | |
╎ 24825 @VSCodeServer/src/eval.jl:34; macro expansion | |
╎ 24825 @Base/essentials.jl:726; invokelatest(::Any) | |
╎ 24825 @Base/essentials.jl:729; #invokelatest#2 | |
╎ 24825 @VSCodeServer/src/repl.jl:187; (::VSCodeServer.var"#106#108"{Module, Expr, REPL.LineEditREPL, REPL.LineEdit.Prompt})() | |
╎ 24825 @Base/logging.jl:623; with_logger | |
╎ ╎ 24825 @Base/logging.jl:511; with_logstate(f::Function, logstate::Any) | |
╎ ╎ 24825 @VSCodeServer/src/repl.jl:186; (::VSCodeServer.var"#107#109"{Module, Expr, REPL.LineEditREPL, REPL.LineEdit.Prompt})() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Yota | |
using Zygote | |
using Zygote: @adjoint | |
using BenchmarkTools | |
using Distributions | |
import NNlib | |
logistic(x) = 1 / (1 + exp(-x)) | |
softplus(x) = log(exp(x) + 1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for n in numbers: | |
# выполняется для каждого числа | |
# выполняется после цикла |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################ BASICS ################# | |
# dynamic typing | |
x = 3 # => 3 (Int64) | |
x = 3.2 # => 3.2 (Float64) | |
x = 2 + 1im # => 2 + 1im (Complex{Int64}) | |
x = 2//3 # => 2//3 (Rational{Int64}) |