- Sort Score
- Result 10 results
- Languages All
Results 31 - 35 of 35 for num_inputs (0.13 sec)
-
src/database/sql/fakedb_test.go
posRow: -1, rows: setMRows, cols: setColumns, colType: setColType, errPos: -1, } return cursor, nil } func (s *fakeStmt) NumInput() int { if s.panic == "NumInput" { panic(s.panic) } return s.placeholders } // hook to simulate broken connections var hookCommitBadConn func() bool func (tx *fakeTx) Commit() error {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 01 12:38:07 UTC 2024 - 30.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td
def OptimizeToSoftmax : Pat< (TFL_DivOp (TFL_ExpOp:$exp $input), (TFL_SumOp:$sum $sum_input, (Arith_ConstantOp I32ElementsAttr: $axes), ConstBoolAttrTrue), TFL_AF_None), (TFL_SoftmaxOp $input, ConstF32Attr<"1.0">), [(IsSame $exp, $sum_input), (AxesIsLastDimension $axes, $sum_input), (HasTwoUse $exp), (HasOneUse $sum)]>;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 20:31:41 UTC 2024 - 66.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize.cc
int num_input = input_ty.getNumElements(); int input_last_dim = input_ty.getShape().back(); if (input_last_dim < 1) return std::nullopt; int num_result = result_ty.getNumElements(); auto size_last = *(--size.value_end<APInt>()); int32_t k = size_last.getSExtValue(); if (num_input / input_last_dim * k != num_result) return std::nullopt;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 00:40:15 UTC 2024 - 102.3K bytes - Viewed (0) -
src/database/sql/convert.go
// placeholders, so we won't sanity check input here and instead let the // driver deal with errors. want := -1 var si driver.Stmt var cc ccChecker if ds != nil { si = ds.si want = ds.si.NumInput() cc.want = want } // Check all types of interfaces from the start. // Drivers may opt to use the NamedValueChecker for special // argument types, then return driver.ErrSkip to pass it along
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 16.2K bytes - Viewed (0) -
src/database/sql/sql_test.go
} }() f() } expectPanic("Exec Exec", func() { db.Exec("PANIC|Exec|WIPE") }) exec(t, db, "WIPE") // check not deadlocked expectPanic("Exec NumInput", func() { db.Exec("PANIC|NumInput|WIPE") }) exec(t, db, "WIPE") // check not deadlocked expectPanic("Exec Close", func() { db.Exec("PANIC|Close|WIPE") }) exec(t, db, "WIPE") // check not deadlocked
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 111.6K bytes - Viewed (0)