Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for CEIL (0.12 sec)

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

    // -----
    
    // CHECK-LABEL: @ceil
    func.func @ceil(%arg0: tensor<2xf32>) -> tensor<2xf32> {
      // CHECK:  mhlo.ceil %arg0 : tensor<2xf32>
      %0 = "tf.Ceil"(%arg0) : (tensor<2xf32>) -> tensor<2xf32>
      func.return %0 : tensor<2xf32>
    }
    
    // -----
    
    // CHECK-LABEL: func @ceil_dynamic
    func.func @ceil_dynamic(%arg0: tensor<?xf32>) -> tensor<?xf32> {
      // CHECK:  mhlo.ceil %arg0 : tensor<?xf32>
    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/tf2xla/transforms/legalize_tf.cc

        auto normalized =
            rewriter.create<mhlo::DivOp>(op.getLoc(), abs_cast, delta_cast);
        auto ceil = rewriter.create<mhlo::CeilOp>(op.getLoc(), normalized);
        auto steps = rewriter.create<mhlo::ConvertOp>(
            op.getLoc(),
            tensorflow::GetTypeFromTFTensorShape({}, rewriter.getI64Type()), ceil);
        auto reshape = rewriter.create<mhlo::ReshapeOp>(
            op.getLoc(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize_hlo.mlir

    }
    
    // CHECK-LABEL:   func @ceil(
    // CHECK-SAME:               %[[VAL_0:.*]]: tensor<2xf32>) -> tensor<2xf32> {
    // CHECK:           %[[VAL_1:.*]] = "tf.Ceil"(%[[VAL_0]]) : (tensor<2xf32>) -> tensor<2xf32>
    // CHECK:           return %[[VAL_1]] : tensor<2xf32>
    // CHECK:         }
    func.func @ceil(%arg0: tensor<2xf32>) -> tensor<2xf32> {
      %0 = "mhlo.ceil"(%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)
  4. src/cmd/compile/internal/ssagen/ssa.go

    		func(s *state, n *ir.CallExpr, args []*ssa.Value) *ssa.Value {
    			return s.newValue1(ssa.OpTrunc, types.Types[types.TFLOAT64], args[0])
    		},
    		sys.ARM64, sys.PPC64, sys.S390X, sys.Wasm)
    	addF("math", "Ceil",
    		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",
    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: (FCEIL (FMOVDconst [x]))
    	// result: (FMOVDconst [math.Ceil(x)])
    	for {
    		if v_0.Op != OpPPC64FMOVDconst {
    			break
    		}
    		x := auxIntToFloat64(v_0.AuxInt)
    		v.reset(OpPPC64FMOVDconst)
    		v.AuxInt = float64ToAuxInt(math.Ceil(x))
    		return true
    	}
    	return false
    }
    func rewriteValuePPC64_OpPPC64FFLOOR(v *Value) bool {
    	v_0 := v.Args[0]
    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