mx/capi/capi.go
exported function ComposeSymbol should have comment or be unexported Open
Open
func ComposeSymbol(handle SymbolHandle, name string, a ...SymbolHandle) {
- Exclude checks
exported function GroupSymbols should have comment or be unexported Open
Open
func GroupSymbols(s []SymbolHandle) SymbolHandle {
- Exclude checks
exported function ReleaseSymbol should have comment or be unexported Open
Open
func ReleaseSymbol(handle SymbolHandle) {
- Exclude checks
exported function CreateVariable should have comment or be unexported Open
Open
func CreateVariable(name string) SymbolHandle {
- Exclude checks
exported function ListNames should have comment or be unexported Open
Open
func ListNames(handle SymbolHandle, kind int) []string {
- Exclude checks
don't use underscores in Go names; var aux_sn should be auxSn Open
Open
in_sn, out_sn, aux_sn *C.uint
- Exclude checks
don't use underscores in Go names; var in_ss should be inSs Open
Open
in_ss, out_ss, aux_ss C.uint
- Exclude checks
exported const WithAuxStates should have comment or be unexported Open
Open
const WithAuxStates = 4
- Exclude checks
exported function InferShapes should have comment or be unexported Open
Open
func InferShapes(handle SymbolHandle, with map[string][]int, selector int) map[string][]int {
- Exclude checks
exported function Forward should have comment or be unexported Open
Open
func Forward(exec ExecutorHandle, train bool) {
- Exclude checks
exported const WithArguments should have comment or be unexported Open
Open
const WithArguments = 1
- Exclude checks
don't use underscores in Go names; var aux_sd should be auxSd Open
Open
in_sd, out_sd, aux_sd **C.uint
- Exclude checks
exported function GetOutputs should have comment or be unexported Open
Open
func GetOutputs(exec ExecutorHandle) []NDArrayInfo {
- Exclude checks
exported function NewNDArrayHandle should have comment or be unexported Open
Open
func NewNDArrayHandle(devType int, devNo int, dtype int, shape [4]int, slen int) NDArrayHandle {
- Exclude checks
exported const WithOutputs should have comment or be unexported Open
Open
const WithOutputs = 2
- Exclude checks
don't use underscores in Go names; var out_sd should be outSd Open
Open
in_sd, out_sd, aux_sd **C.uint
- Exclude checks
exported function FillInfo should have comment or be unexported Open
Open
func FillInfo(nfo *NDArrayInfo) {
- Exclude checks
exported var LibVersion should have comment or be unexported Open
Open
var LibVersion = 0
- Exclude checks
exported const ArgumentsNames should have comment or be unexported Open
Open
const ArgumentsNames = 0
- Exclude checks
don't use underscores in Go names; var shape_at should be shapeAt Open
Open
shape_at := func(i int, d *C.uint, s **C.uint) []int {
- Exclude checks
exported function Bind should have comment or be unexported Open
Open
func Bind(symbol SymbolHandle, devType, devNo int, args []NDArrayHandle, grads []NDArrayHandle, aux []NDArrayHandle) ExecutorHandle {
- Exclude checks
don't use underscores in Go names; var out_nn should be outNn Open
Open
out_nn C.uint
- Exclude checks
don't use underscores in Go names; var name_at should be nameAt Open
Open
name_at := func(i int) string {
- Exclude checks
don't use underscores in Go names; var aux_ss should be auxSs Open
Open
in_ss, out_ss, aux_ss C.uint
- Exclude checks
exported var GpuCount should have comment or be unexported Open
Open
var GpuCount int = 0
- Exclude checks
exported type NDArrayHandle should have comment or be unexported Open
Open
type NDArrayHandle = C.NDArrayHandle
- Exclude checks
exported type SymbolHandle should have comment or be unexported Open
Open
type SymbolHandle = C.SymbolHandle
- Exclude checks
exported type ExecutorHandle should have comment or be unexported Open
Open
type ExecutorHandle = C.ExecutorHandle
- Exclude checks
exported function NewSymbol should have comment or be unexported Open
Open
func NewSymbol(op MxnetOp, attr map[MxnetKey]string, a ...interface{}) SymbolHandle {
- Exclude checks
exported function Backward should have comment or be unexported Open
Open
func Backward(exec ExecutorHandle) {
- Exclude checks
exported function GetNDArrayRawData should have comment or be unexported Open
Open
func GetNDArrayRawData(handle NDArrayHandle, p unsafe.Pointer, len int) {
- Exclude checks
don't use underscores in Go names; var out_sn should be outSn Open
Open
in_sn, out_sn, aux_sn *C.uint
- Exclude checks
exported function GetInternals should have comment or be unexported Open
Open
func GetInternals(s SymbolHandle) SymbolHandle {
- Exclude checks
exported function ReleaseExecutor should have comment or be unexported Open
Open
func ReleaseExecutor(handle ExecutorHandle) {
- Exclude checks
exported function ImperativeInvokeInplace1 should have comment or be unexported Open
Open
func ImperativeInvokeInplace1(op MxnetOp, h NDArrayHandle, a ...interface{}) {
- Exclude checks
exported function SetNDArrayRawData should have comment or be unexported Open
Open
func SetNDArrayRawData(handle NDArrayHandle, p unsafe.Pointer, len int) {
- Exclude checks
exported const AuxNames should have comment or be unexported Open
Open
const AuxNames = 2
- Exclude checks
don't use underscores in Go names; var out_ns should be outNs Open
Open
out_ns **C.char
- Exclude checks
exported type NDArrayInfo should have comment or be unexported Open
Open
type NDArrayInfo struct {
- Exclude checks
func ToJson should be ToJSON Open
Open
func ToJson(sym SymbolHandle) []byte {
- Exclude checks
exported function ContextRandomSeed should have comment or be unexported Open
Open
func ContextRandomSeed(seed, devType, devNo int) {
- Exclude checks
exported function ImperativeInvokeInOut1 should have comment or be unexported Open
Open
func ImperativeInvokeInOut1(op MxnetOp, h NDArrayHandle, o NDArrayHandle, a ...interface{}) {
- Exclude checks
exported const OutputNames should have comment or be unexported Open
Open
const OutputNames = 1
- Exclude checks
exported function RandomSeed should have comment or be unexported Open
Open
func RandomSeed(seed int) {
- Exclude checks
exported function ReleaseNDArry should have comment or be unexported Open
Open
func ReleaseNDArry(handle NDArrayHandle) {
- Exclude checks
exported const WithoutOutput should have comment or be unexported Open
Open
const WithoutOutput = 8
- Exclude checks
don't use underscores in Go names; var out_ss should be outSs Open
Open
in_ss, out_ss, aux_ss C.uint
- Exclude checks
don't use underscores in Go names; var in_sn should be inSn Open
Open
in_sn, out_sn, aux_sn *C.uint
- Exclude checks
don't use underscores in Go names; var in_sd should be inSd Open
Open
in_sd, out_sd, aux_sd **C.uint
- Exclude checks
exported function OptimizerUpdate should have comment or be unexported Open
Open
func OptimizerUpdate(op MxnetOp, params, grads, state1 NDArrayHandle, state2 NDArrayHandle, a ...interface{}) {
- Exclude checks
exported function ToJson should have comment or be unexported Open
Open
func ToJson(sym SymbolHandle) []byte {
- Exclude checks