Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for num_slices (0.09 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.td

    def DequantizeHalfRange : NativeCodeCall<
      "DequantizeHalfRange(&$_builder, $0)">;
    
    // TODO(b/188530181): Generalize to more quantized input types,
    //   allow num_slices > 1, and allow non default arguments for $mode,
    //   $narrow_range, and $axis.
    def LowerDequantizeOp : Pat<
      (TF_DequantizeOp:$result
        $input, $min_range, $max_range,
        TF_AnyStrAttrOf<["MIN_COMBINED"]>:$mode,
    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. test/typeparam/issue51925.go

    	}
    	return result
    }
    
    func min[T IntLike](x, y T) T {
    	if x < y {
    		return x
    	}
    	return y
    }
    
    // Min returns the minimum element of `nums`.
    func Min[T IntLike, NumSlice ~[]T](nums NumSlice) T {
    	if len(nums) == 0 {
    		return T(0)
    	}
    	return Reduce(min[T], nums, nums[0])
    }
    
    // VarMin is the variadic version of Min.
    func VarMin[T IntLike](nums ...T) T {
    	return Min(nums)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 963 bytes
    - Viewed (0)
Back to top