Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 185 for Axis (0.11 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test_base.py

              ones = array_ops.ones_like(out)
              out = array_ops.concat([out, ones], 0)
            elif self.same_scale_op == 'gather':
              out = array_ops.gather(out, indices=[0], axis=0)
            elif self.same_scale_op == 'max_pool':
              out = nn_ops.max_pool(out, ksize=3, strides=1, padding='SAME')
            elif self.same_scale_op == 'pad':
              paddings = array_ops.ones(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/transforms/legalization_op_config_test.cc

        %0:3 = "tf.Unpack"(%arg0) {axis = 0 : i64} : (tensor<3xi64>) -> (tensor<i64>, tensor<i64>, tensor<i64>)
        return
      }
    })";
    
    class LegalizationOpConfigTest : public ::testing::Test {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 30 03:31:01 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/lower-static-tensor-list.mlir

      func.return %1 : tensor<*xf32>
    
    // CHECK-DAG:  [[AXIS:%.*]] = arith.constant dense<0> : tensor<i32>
    // CHECK-DAG:  [[EXPAND_DIM:%[0-9]+]] = "tf.ExpandDims"(%arg1, [[AXIS]]) : (tensor<i32>, tensor<i32>) -> tensor<1xi32>
    // CHECK-DAG:  [[AXIS_1:%.*]] = arith.constant dense<0> : tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 39.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/prepare-quantize-signed.mlir

      %1 = "quantfork.stats"(%0) {
        layerStats = dense<[-1.0, 1.0]> : tensor<2xf32>,
        axisStats = dense<[
          [-1.0, 1.0],
          [-8.0, 8.0],
          [-0.5, 0.5]
        ]> : tensor<3x2xf32>, axis = 2 : i64
      } : (tensor<8x4x3xf32>) -> tensor<8x4x3xf32>
      func.return %1 : tensor<8x4x3xf32>
    
    // CHECK: %[[q1:.*]] = "tfl.quantize"(%arg0) <{qtype = tensor<8x4x3x!quant.uniform<i8:f32, 0.0078431372549019607:-1>>}> {volatile}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/common/ir/UniformSupport.h

      const double clamp_max_double_;
    
      const uint32_t storage_bit_width_;
      const bool is_signed_;
      const llvm::APFloat::roundingMode round_mode_;
    };
    
    // An utility class to quantize an attribute by the per-axis quantization
    // parameters. The size of the quantization dim in the converted elements
    // attribute should match the size of of scales/zero_points vectors in the
    // quantization parameters.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 02:10:16 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_test_util.cc

    TFE_Op* MinOp(TFE_Context* ctx, TFE_TensorHandle* input,
                  TFE_TensorHandle* axis) {
      TF_Status* status = TF_NewStatus();
    
      TFE_Op* op = TFE_NewOp(ctx, "Min", status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TFE_OpAddInput(op, input, status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TFE_OpAddInput(op, axis, status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 22:37:46 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/api/v2/testdata/outside_compilation.mlir

          %outputs_10, %control_11 = tf_executor.island wraps "tf.Pack"(%outputs_6, %outputs_8) {axis = 0 : i64, device = ""} : (tensor<0xi32>, tensor<0xi32>) -> tensor<*xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 19 20:19:45 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  8. src/math/sin.go

    			j++
    			y++
    		}
    		j &= 7                               // octant modulo 2Pi radians (360 degrees)
    		z = ((x - y*PI4A) - y*PI4B) - y*PI4C // Extended precision modular arithmetic
    	}
    	// reflect in x axis
    	if j > 3 {
    		sign = !sign
    		j -= 4
    	}
    	zz := z * z
    	if j == 1 || j == 2 {
    		y = 1.0 - 0.5*zz + zz*zz*((((((_cos[0]*zz)+_cos[1])*zz+_cos[2])*zz+_cos[3])*zz+_cos[4])*zz+_cos[5])
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/quantize.mlir

    func.func @QuantizeConcat(tensor<1x2xf32>, tensor<1x2xf32>) -> tensor<2x2x!quant.uniform<u8:f32, 1.000000e-01:128>> {
    ^bb0(%arg0: tensor<1x2xf32>, %arg1: tensor<1x2xf32>):
      %0 = "tfl.concatenation"(%arg0, %arg1) {axis = 0 : i32, fused_activation_function = "NONE"} : (tensor<1x2xf32>, tensor<1x2xf32>) -> tensor<2x2xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:10:13 UTC 2024
    - 39.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tests/quantize-dynamic-range.mlir

    // PerTensor-LABEL: QuantizeGatherWeightOnly
    func.func @QuantizeGatherWeightOnly(%arg0: tensor<3xi32>) -> tensor<3x3x3x3xf32> {
      %w = arith.constant dense<1.270000e+02> : tensor<64x3x3x3xf32>
      %emb = "tfl.gather"(%w, %arg0) {axis = 0 : i32, batch_dims = 0 : i32} : (tensor<64x3x3x3xf32>, tensor<3xi32>) -> tensor<3x3x3x3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 23 21:09:00 UTC 2024
    - 23.2K bytes
    - Viewed (0)
Back to top