Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Sel (0.03 sec)

  1. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir

      // CHECK-DAG: %[[ZERO_MAT:.*]] = "mhlo.broadcast"(%[[ZERO]]) <{broadcast_sizes = dense<12> : tensor<2xi64>}> : (tensor<f32>) -> tensor<12x12xf32>
      // CHECK-DAG: %[[SEL:.*]] = mhlo.select %[[COMP]], %[[RS]], %[[ZERO_MAT]] : tensor<12x12xi1>, tensor<12x12xf32>
      // CHECK-DAG: %[[RED:.*]] = mhlo.reduce(%[[SEL]] init: %[[ZERO]]) applies mhlo.add across dimensions = [0] : (tensor<12x12xf32>, tensor<f32>) -> tensor<12xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 335.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssagen/ssa.go

    func fieldIdx(n *ir.SelectorExpr) int {
    	t := n.X.Type()
    	if !t.IsStruct() {
    		panic("ODOT's LHS is not a struct")
    	}
    
    	for i, f := range t.Fields() {
    		if f.Sym == n.Sel {
    			if f.Offset != n.Offset() {
    				panic("field offset doesn't match")
    			}
    			return i
    		}
    	}
    	panic(fmt.Sprintf("can't find field in expr %v\n", n))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top