Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 23 of 23 for num_inputs (1.14 sec)

  1. 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)
  2. 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)
  3. 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)
Back to top