Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 181 for arity (0.04 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/utils/stablehlo_type_utils_test.cc

    ==============================================================================*/
    
    #include "tensorflow/compiler/mlir/quantization/stablehlo/utils/stablehlo_type_utils.h"
    
    #include <gtest/gtest.h>
    #include "mlir/Dialect/Arith/IR/Arith.h"  // from @llvm-project
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/IR/Builders.h"  // from @llvm-project
    #include "mlir/IR/MLIRContext.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 25 00:32:20 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/reduce_type_precision.cc

    // This pattern checks if an i8 arith::ConstantOp tensor has all values within
    // the INT4 range, i.e. [-8,7] and converts it into i4 if so. This assumes that
    // the input is sign-extended two's complement.
    class CheckRangeAndConvertI8ToI4 : public OpRewritePattern<arith::ConstantOp> {
     public:
      using OpRewritePattern<arith::ConstantOp>::OpRewritePattern;
    
      LogicalResult matchAndRewrite(arith::ConstantOp op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/tests/prepare_quantize_drq_per_channel.mlir

        return %0 : tensor<*xf32>
      }
    
    // CHECK-LABEL: func @conv2d
    // CHECK-DAG: %[[CONST_0:.*]] = arith.constant dense<0.000000e+00> : tensor<2xf32>
    // CHECK-DAG: %[[CONST_1:.*]] = arith.constant dense<3.000000e+00> : tensor<2x3x512x2xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/tfl_while_op_licm.mlir

      // CHECK: [[CST:%[^ ]*]] = arith.constant dense<1> : tensor<i32>
      // CHECK: "tfl.while"([[ARG0]], [[ARG1]])
      // CHECK: (tensor<i32>, tensor<1xf32>) -> (tensor<i32>, tensor<1xf32>)
      %0:2 = "tfl.while"(%arg0, %arg1) (
        // cond
        {
        ^bb0(%condArg0: tensor<*xi32>, %condArg1: tensor<*xf32>):
          %0 = "arith.constant" () {value = dense<0> : tensor<i32>} : () -> tensor<i32> loc("Const")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 14:24:59 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/transforms/xla_legalize_targets_test.cc

    ==============================================================================*/
    
    #include "tensorflow/compiler/mlir/tf2xla/transforms/xla_legalize_targets.h"
    
    #include <gmock/gmock.h>
    #include <gtest/gtest.h>
    #include "mlir/Dialect/Arith/IR/Arith.h"  // from @llvm-project
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/Dialect/Shape/IR/Shape.h"  // from @llvm-project
    #include "mlir/Dialect/Tensor/IR/Tensor.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 05:56:39 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfr/python/tfr_wrapper.cc

    #include <string>
    
    #include "llvm/Support/MemoryBuffer.h"
    #include "llvm/Support/SMLoc.h"
    #include "llvm/Support/SourceMgr.h"
    #include "mlir/Dialect/Arith/IR/Arith.h"  // from @llvm-project
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/Dialect/SCF/IR/SCF.h"  // from @llvm-project
    #include "mlir/Dialect/Shape/IR/Shape.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 13 06:54:12 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/unfold_large_splat_constant.cc

        mlir::OpBuilder op_builder(&module.getBodyRegion());
        module.walk([&](mlir::arith::ConstantOp const_op) {
          MaybeUnfoldLargeSplatConstant(&op_builder, const_op);
        });
      }
    
     private:
      void MaybeUnfoldLargeSplatConstant(mlir::OpBuilder* op_builder,
                                         mlir::arith::ConstantOp const_op) const {
        auto splat_elements_attr =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/analyze-variables.mlir

    module {
      func.func @main(%arg0 : tensor<!tf_type.resource<tensor<4096xf32>>>,
          %arg1 : tensor<*x!tf_type.variant>) {
        %cst_0 = arith.constant dense<2> : tensor<i64>
        %cst_1 = arith.constant dense<0> : tensor<i32>
        %0 = "tf.RepeatDataset"(%arg1, %cst_0) {device = "",
          output_shapes = [#tf_type.shape<?>],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 09 11:49:28 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  9. cmd/metrics-v3-cluster-config.go

    )
    
    var (
    	configRRSParityMD = NewGaugeMD(configRRSParity,
    		"Reduced redundancy storage class parity")
    	configStandardParityMD = NewGaugeMD(configStandardParity,
    		"Standard storage class parity")
    )
    
    // loadClusterConfigMetrics - `MetricsLoaderFn` for cluster config
    // such as standard and RRS parity.
    func loadClusterConfigMetrics(ctx context.Context, m MetricValues, c *metricsCache) error {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 12:50:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/dialect_registration.h

    #ifndef TENSORFLOW_COMPILER_MLIR_TENSORFLOW_DIALECT_REGISTRATION_H_
    #define TENSORFLOW_COMPILER_MLIR_TENSORFLOW_DIALECT_REGISTRATION_H_
    
    #include "mlir/Dialect/Arith/IR/Arith.h"  // from @llvm-project
    #include "mlir/Dialect/ControlFlow/IR/ControlFlow.h"  // from @llvm-project
    #include "mlir/Dialect/Func/Extensions/AllExtensions.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 15 16:15:16 UTC 2023
    - 3K bytes
    - Viewed (0)
Back to top