- Sort Score
- Result 10 results
- Languages All
Results 51 - 57 of 57 for num_inputs (0.42 sec)
-
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc
const auto &inputs_ty = op.getInputs().getType(); int n_inputs = inputs_ty.size(); if (n_inputs < 1) return op.emitOpError() << "No inputs"; const auto &init_values_ty = op.getInitValues().getType(); int n_init_values = init_values_ty.size(); if (n_init_values != n_inputs) { return op.emitOpError() << "Number of inputs (" << n_inputs << ") is different than number of init_values ("
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 170.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.td
def LowerSoftmaxCrossEntropyWithLogitsOp : Pattern< (TF_SoftmaxCrossEntropyWithLogitsOp AnyRankedTensor:$features, AnyRankedTensor:$labels), [(TF_SumOp (TF_MulNoNanOp:$sum_input (TF_LogSoftmaxOp $features), (TF_NegOp $labels)), (TF_ConstOp (GetI64ScalarElementsAttr<-1>)), /*keep_dims=*/ConstBoolAttrFalse),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 04 13:30:42 UTC 2024 - 24.7K bytes - Viewed (0) -
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)