Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Floor (0.07 sec)

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

      %0 = "tf.Exp"(%arg0) : (tensor<?xf32>) -> tensor<?xf32>
      func.return %0 : tensor<?xf32>
    }
    
    // -----
    
    // CHECK-LABEL: @floor
    func.func @floor(%arg0: tensor<2xf32>) -> tensor<2xf32> {
      // CHECK:  mhlo.floor %arg0 : tensor<2xf32>
      %0 = "tf.Floor"(%arg0) : (tensor<2xf32>) -> tensor<2xf32>
      func.return %0 : tensor<2xf32>
    }
    
    // -----
    
    // CHECK-LABEL: func @floor_dynamic
    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. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize_hlo.mlir

    }
    
    // CHECK-LABEL:   func @floor(
    // CHECK-SAME:                %[[VAL_0:.*]]: tensor<2xf32>) -> tensor<2xf32> {
    // CHECK:           %[[VAL_1:.*]] = "tf.Floor"(%[[VAL_0]]) : (tensor<2xf32>) -> tensor<2xf32>
    // CHECK:           return %[[VAL_1]] : tensor<2xf32>
    // CHECK:         }
    func.func @floor(%arg0: tensor<2xf32>) -> tensor<2xf32> {
      %0 = "mhlo.floor"(%arg0) : (tensor<2xf32>) -> tensor<2xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 07:26:59 UTC 2024
    - 340.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

          // performance.
    
          // For Exponent = 2, the expected number of collisions per shuffle is
          // maximized at n = floor((2^32-1)^(1/2)) = 65535 where the expectation is
          // about 1/2.
    
          // For Exponent = 3, the expected number of collisions per shuffle is
          // maximized at n = floor((2^32-1)^(1/3)) = 1625 where the expectation is
          // about 1/3255.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssagen/ssa.go

    		func(s *state, n *ir.CallExpr, args []*ssa.Value) *ssa.Value {
    			return s.newValue1(ssa.OpCeil, types.Types[types.TFLOAT64], args[0])
    		},
    		sys.ARM64, sys.PPC64, sys.S390X, sys.Wasm)
    	addF("math", "Floor",
    		func(s *state, n *ir.CallExpr, args []*ssa.Value) *ssa.Value {
    			return s.newValue1(ssa.OpFloor, types.Types[types.TFLOAT64], args[0])
    		},
    		sys.ARM64, sys.PPC64, sys.S390X, sys.Wasm)
    	addF("math", "Round",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewritePPC64.go

    	v_0 := v.Args[0]
    	// match: (FFLOOR (FMOVDconst [x]))
    	// result: (FMOVDconst [math.Floor(x)])
    	for {
    		if v_0.Op != OpPPC64FMOVDconst {
    			break
    		}
    		x := auxIntToFloat64(v_0.AuxInt)
    		v.reset(OpPPC64FMOVDconst)
    		v.AuxInt = float64ToAuxInt(math.Floor(x))
    		return true
    	}
    	return false
    }
    func rewriteValuePPC64_OpPPC64FGreaterEqual(v *Value) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 360.2K bytes
    - Viewed (0)
Back to top