Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 357 for arity (0.06 sec)

  1. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

                loc,
                rewriter.create<arith::AddIOp>(
                    loc, input_size,
                    rewriter.create<arith::SubIOp>(loc, stride_value, one)),
                stride_value);
            // std::max(int64{0}, (output_size - 1) * stride +
            //     effective_filter_size - input_size);
            Value padding_needed = rewriter.create<arith::SubIOp>(
                loc,
                rewriter.create<arith::AddIOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

    }
    
    //===----------------------------------------------------------------------===//
    // EinsumOp
    //===----------------------------------------------------------------------===//
    
    // Verifies that,
    // * Arity of the op is at most two.
    //
    // TODO(hinsu): Verify einsum equation attribute.
    LogicalResult EinsumOp::verify() {
      EinsumOp op = *this;
      if (op.getN() > 2) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/prepare-tf-fake-quant.mlir

      %in = arith.constant dense<0.0> : tensor<3x3x48x1xf32>
      %min = arith.constant dense<0.0> : tensor<48xf32>
      %max = arith.constant dense<255.0> : tensor<48xf32>
      %mini = "tf.Identity"(%min) : (tensor<48xf32>) -> tensor<48xf32>
      %maxi = "tf.Identity"(%max) : (tensor<48xf32>) -> tensor<48xf32>
      %s1 = arith.constant dense<[3, 3, 48]> : tensor<3xi32>
      %s2 = arith.constant dense<[3, 3, 48, 1]> : tensor<4xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/prepare-tf-fake-quant-4bit.mlir

      %in = arith.constant dense<0.0> : tensor<3x3x48x1xf32>
      %min = arith.constant dense<0.0> : tensor<48xf32>
      %max = arith.constant dense<15.0> : tensor<48xf32>
      %mini = "tf.Identity"(%min) : (tensor<48xf32>) -> tensor<48xf32>
      %maxi = "tf.Identity"(%max) : (tensor<48xf32>) -> tensor<48xf32>
      %s1 = arith.constant dense<[3, 3, 48]> : tensor<3xi32>
      %s2 = arith.constant dense<[3, 3, 48, 1]> : tensor<4xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 22K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/prepare-quantize-signed.mlir

        layerStats = dense<[-1.28e-5, 1.27e-5]> : tensor<2xf32>
      } : (tensor<1x5x5x2xf32>) -> tensor<1x5x5x2xf32>
      %w = arith.constant dense<[[[[-1.0, 1.0]]], [[[1.0, 2.0]]], [[[-2.0, 1.0]]]]> : tensor<3x1x1x2xf32>
      %b = arith.constant dense<0.0> : tensor<3xf32>
      %b2 = arith.constant dense<[1.0e-2, 2.1473647e1, -2.1473647e2]> : tensor<3xf32>
      %conv = "tfl.conv_2d"(%0, %w, %b) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/const-fold.mlir

      %0 = arith.constant dense<-1.0> : tensor<f32>
      %1 = arith.constant dense<1.0> : tensor<f32>
      %2 = arith.constant dense<1.0> : tensor<f32>
      %3 = arith.constant dense<1.0> : tensor<f32>
      %4 = arith.constant dense<4.0> : tensor<f32>
      %5 = arith.constant dense<4.0> : tensor<f32>
      %6 = arith.constant dense<2.0> : tensor<f32>
    
      // CHECK-DAG: [[cst0:%.*]] = arith.constant dense<1.000000e+00> : tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 45.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/legalize-tf-while.mlir

      %cst = arith.constant dense<[1, 0]> : tensor<2xi32>
      %cst_0 = arith.constant dense<0> : tensor<i32>
      %cst_1 = arith.constant dense<-1> : tensor<i32>
      %cst_2 = arith.constant dense<1> : tensor<i32>
      %0 = "tf.AddV2"(%arg2, %cst_2) {T = i32, device = ""} : (tensor<*xi32>, tensor<i32>) -> tensor<*xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/quantization/tensorflow/tests/tf_to_quant.mlir

    // CHECK:  return %1
    }
    
    // CHECK-LABEL: fakeQuantFolded
    func.func @fakeQuantFolded() -> (tensor<8xf32>) {
      %in = arith.constant dense<0.0> : tensor<8xf32>
      %min = arith.constant dense<0.0> : tensor<f32>
      %max = arith.constant dense<255.0> : tensor<f32>
      %mini = "tf.Identity"(%min) : (tensor<f32>) -> tensor<f32>
      %maxi = "tf.Identity"(%max) : (tensor<f32>) -> tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  9. internal/config/storageclass/storage-class.go

    	if err != nil {
    		return err
    	}
    	sc.Parity = s.Parity
    	return nil
    }
    
    // MarshalText - marshals storage class string.
    func (sc *StorageClass) MarshalText() ([]byte, error) {
    	if sc.Parity != 0 {
    		return []byte(fmt.Sprintf("%s:%d", schemePrefix, sc.Parity)), nil
    	}
    	return []byte{}, nil
    }
    
    func (sc *StorageClass) String() string {
    	if sc.Parity != 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfr/tests/decompose.mlir

      func.return %result : !tfr.tensor_list
    // CHECK-DAG: %[[N_128:.*]] = arith.constant -128 : i32
    // CHECK-DAG: %[[N32:.*]] = arith.constant 32 : i32
    // CHECK-DAG: %[[N42:.*]] = arith.constant 42 : i32
    // CHECK-DAG: %[[N52:.*]] = arith.constant 52 : i32
    // CHECK-DAG: %[[N102:.*]] = arith.constant 102 : i32
    // CHECK-DAG: %[[N127:.*]] = arith.constant 127 : i32
    // CHECK-NEXT: %[[none_min:.*]] = "tfr.constant_tensor"(%[[N_128]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 16.7K bytes
    - Viewed (0)
Back to top