Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 96 for bitcast (0.18 sec)

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

      func.return %0 : tensor<?xf32>
    }
    
    // -----
    
    // CHECK-LABEL: func @bitcast
    func.func @bitcast(%arg0: tensor<2xf32>) -> tensor<2xf32> {
      // CHECK:  mhlo.bitcast_convert %arg0 : (tensor<2xf32>) -> tensor<2xf32>
      %0 = "tf.Bitcast"(%arg0) : (tensor<2xf32>) -> tensor<2xf32>
      func.return %0 : tensor<2xf32>
    }
    
    // -----
    
    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/uniform-quantized-stablehlo-to-tfl.mlir

    // CHECK: %[[BITCAST1:.+]] = "tfl.bitcast"(%[[ARG1]]) : (tensor<i64>) -> tensor<1xi64>
    // CHECK: %[[MIN1:.+]] = "tfl.minimum"(%[[BITCAST1]], %[[MAX1]]) : (tensor<1xi64>, tensor<1xi64>) -> tensor<1xi64>
    // CHECK: %[[BITCAST2:.+]] = "tfl.bitcast"(%[[ARG2]]) : (tensor<i64>) -> tensor<1xi64>
    // CHECK: %[[MIN2:.+]] = "tfl.minimum"(%[[BITCAST2]], %[[MAX2]]) : (tensor<1xi64>, tensor<1xi64>) -> tensor<1xi64>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 106.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/schema/schema.fbs

      DYNAMIC_UPDATE_SLICE = 151,
      RELU_0_TO_1 = 152,
      UNSORTED_SEGMENT_PROD = 153,
      UNSORTED_SEGMENT_MAX = 154,
      UNSORTED_SEGMENT_SUM = 155,
      ATAN2 = 156,
      UNSORTED_SEGMENT_MIN = 157,
      SIGN = 158,
      BITCAST = 159,
      BITWISE_XOR = 160,
      RIGHT_SHIFT = 161,
      // All Operators start with STABLEHLO_ prefixes are subject to change
      // Many of the ops below can not be executed by TFlite runtime
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/topologymanager/bitmask/bitmask.go

    	IsNarrowerThan(mask BitMask) bool
    	IsLessThan(mask BitMask) bool
    	IsGreaterThan(mask BitMask) bool
    	String() string
    	Count() int
    	GetBits() []int
    }
    
    type bitMask uint64
    
    // NewEmptyBitMask creates a new, empty BitMask
    func NewEmptyBitMask() BitMask {
    	s := bitMask(0)
    	return &s
    }
    
    // NewBitMask creates a new BitMask
    func NewBitMask(bits ...int) (BitMask, error) {
    	s := bitMask(0)
    	err := (&s).Add(bits...)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 09:45:09 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

      let hasFolder = 1;
    }
    
    def TFL_BitcastOp : TFL_Op<"bitcast", [Pure]> {
      let summary = "Bitcast operator";
    
      let description = [{
        Bitcasts a tensor from one type to another.
      }];
    
      let arguments = (ins AnyTensor:$input);
    
      let results = (outs AnyTensor:$output);
    
      // TFLite's bitcast bitop does not utilize options, instead derives types
      // from the TfLiteTensors.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize_hlo.mlir

      func.return %0 : tensor<?xf32>
    }
    
    // CHECK-LABEL:   func @bitcast(
    // CHECK-SAME:                  %[[VAL_0:.*]]: tensor<2xf32>) -> tensor<2xf32> {
    // CHECK:           %[[VAL_1:.*]] = "tf.Bitcast"(%[[VAL_0]]) : (tensor<2xf32>) -> tensor<2xf32>
    // CHECK:           return %[[VAL_1]] : tensor<2xf32>
    // CHECK:         }
    func.func @bitcast(%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)
  7. tensorflow/compiler/jit/mark_for_compilation_pass.cc

    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

    [..., sizeof(`type`)/sizeof(`T`)] to [...].
    
    tf.bitcast() and tf.cast() work differently when real dtype is casted as a complex dtype
    (e.g. tf.complex64 or tf.complex128) as tf.cast() make imaginary part 0 while tf.bitcast()
    gives module error.
    For example,
    
    Example 1:
    
    >>> a = [1., 2., 3.]
    >>> equality_bitcast = tf.bitcast(a, tf.complex128)
    Traceback (most recent call last):
    ...
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/ops.mlir

      // CHECK: return %0 : tensor<8xf32>
    }
    
    
    // -----
    
    // CHECK-LABEL: testBitcast
    func.func @testBitcast(%arg0: tensor<8xui32>) -> tensor<8xi32> {
      // CHECK: "tfl.bitcast"(%arg0)
      %0 = "tfl.bitcast"(%arg0) : (tensor<8xui32>) -> tensor<8xi32>
      func.return %0 : tensor<8xi32>
      // CHECK: return %0 : tensor<8xi32>
    }
    
    // -----
    
    // CHECK-LABEL: testBitwiseXor
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 189.2K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/topologymanager/numa_info.go

    		NUMADistances: distances,
    	}
    
    	return numaInfo, nil
    }
    
    func (n *NUMAInfo) Narrowest(m1 bitmask.BitMask, m2 bitmask.BitMask) bitmask.BitMask {
    	if m1.IsNarrowerThan(m2) {
    		return m1
    	}
    	return m2
    }
    
    func (n *NUMAInfo) Closest(m1 bitmask.BitMask, m2 bitmask.BitMask) bitmask.BitMask {
    	// If the length of both bitmasks aren't the same, choose the one that is narrowest.
    	if m1.Count() != m2.Count() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 09 16:52:14 UTC 2022
    - 2.7K bytes
    - Viewed (0)
Back to top