Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 115 for arity (0.05 sec)

  1. tensorflow/compiler/mlir/tfr/tests/ops.mlir

    func.func @build_const_list() -> !tfr.attr {
      %0 = "arith.constant"() {value = 42 : i32} : () -> i32
      %1 = "arith.constant"() {value = 41 : i32} : () -> i32
      %2 = "tfr.build_list"(%0, %1) : (i32, i32) -> !tfr.attr
      func.return %2 : !tfr.attr
    }
    
    // -----
    
    // CHECK-LABEL: build_high_dim_const_list
    func.func @build_high_dim_const_list() -> !tfr.attr {
      %0 = "arith.constant"() {value = 42 : i32} : () -> i32
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jan 14 22:15:06 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/experimental/tac/tests/fold-constants-to-subgraph.mlir

    // ALL:         }
    }
    
    // -----
    
    module {
    
    func.func @main(%arg0: tensor<4x384x32xf32>) -> tensor<1x384x32xf32> {
      %0 = arith.constant dense<0> : tensor<3xi32>
      %1 = arith.constant dense<[1, 384, 32]> : tensor<3xi32>
      %2 = func.call @simple_test(%arg0, %0, %1) {tac.interface_name = "func1"} : (tensor<4x384x32xf32>, tensor<3xi32>, tensor<3xi32>) -> tensor<1x384x32xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_stablehlo_to_vhlo.cc

    #include <optional>
    #include <string>
    #include <utility>
    
    #include "llvm/Support/Debug.h"
    #include "mlir/Conversion/ReconcileUnrealizedCasts/ReconcileUnrealizedCasts.h"  // from @llvm-project
    #include "mlir/Dialect/Arith/IR/Arith.h"  // from @llvm-project
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/IR/Attributes.h"  // from @llvm-project
    #include "mlir/IR/Builders.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 19:48:51 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/region-control-flow-to-functional.mlir

    func.func @testIfConstant(%arg0: tensor<i1>) -> tensor<2xf32> {
      %cst_zero = arith.constant dense<0.0> : tensor<2xf32>
      // CHECK: "tf.If"(%arg0) <{else_branch = @tf.IfRegion_else{{.+}}then_branch = @tf.IfRegion_then
      %0 = "tf.IfRegion"(%arg0) ({
         "tf.Yield"(%cst_zero) : (tensor<2xf32>) -> ()
        }, {
         %cst_one = arith.constant dense<1.0> : tensor<2xf32>
         "tf.Yield"(%cst_one) : (tensor<2xf32>) -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 02 11:15:34 UTC 2024
    - 44.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/utils/lstm_utils_test.cc

    #include <ostream>
    #include <string>
    #include <vector>
    
    #include "llvm/ADT/ArrayRef.h"
    #include "llvm/ADT/SmallVector.h"
    #include "llvm/ADT/StringExtras.h"
    #include "llvm/Support/Casting.h"
    #include "mlir/Dialect/Arith/IR/Arith.h"  // from @llvm-project
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/Dialect/Tensor/IR/Tensor.h"  // from @llvm-project
    #include "mlir/IR/Attributes.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/quantize-numeric-verify.mlir

    ^bb0(%arg0: tensor<1x224x224x3x!quant.uniform<u8:f32, 7.812500e-03:128>>):
      %cst = arith.constant dense<-1.23697901> : tensor<32xf32>
      %2 = "tfl.dequantize"(%arg0) : (tensor<1x224x224x3x!quant.uniform<u8:f32, 7.812500e-03:128>>) -> tensor<1x224x224x3xf32>
      %w = arith.constant dense<-1.0> : tensor<32x3x3x3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfr/ir/tfr_ops.cc

    #include "llvm/ADT/SmallVector.h"
    #include "llvm/ADT/StringExtras.h"
    #include "llvm/ADT/StringSet.h"
    #include "llvm/ADT/Twine.h"
    #include "llvm/Support/Casting.h"
    #include "llvm/Support/raw_ostream.h"
    #include "mlir/Dialect/Arith/IR/Arith.h"  // from @llvm-project
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/Dialect/Quant/QuantTypes.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 Nov 21 16:55:41 UTC 2023
    - 38.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/resource-device-inference.mlir

                %read = "tf.ReadVariableOp"(%cid0) : (!tf_res) -> tensor<32xf32>
                %cst = arith.constant dense<3.0> : tensor<32xf32>
                %cmp = "tf.Less"(%read, %cst) : (tensor<32xf32>, tensor<32xf32>) -> tensor<32xi1>
                %dims = arith.constant dense<0> : tensor<1xi32>
                %reduce = "tf.All"(%cmp, %dims) {keep_dims = false} : (tensor<32xi1>, tensor<1xi32>) -> tensor<i1>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 17 16:01:45 UTC 2022
    - 18.2K bytes
    - Viewed (0)
  9. cmd/erasure-object_test.go

    	// Object for test case 6 - RRS StorageClass defined as Parity 2, MetaData in PutObject requesting Standard Storage Class
    	object6 := "object6"
    	metadata6 := make(map[string]string)
    	metadata6["x-amz-storage-class"] = storageclass.STANDARD
    	globalStorageClass.Update(storageclass.Config{
    		Standard: storageclass.StorageClass{
    			Parity: 4,
    		},
    		RRS: storageclass.StorageClass{
    			Parity: 2,
    		},
    	})
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  10. docs/debugging/xl-meta/main.go

    					if err != nil {
    						fmt.Println(err)
    						continue
    					}
    					if m.objSize != otherM.objSize {
    						continue
    					}
    
    					// If data+parity matches, combine.
    					if m.parity == otherM.parity && m.data == otherM.data {
    						for k, v := range m.parityData {
    							if otherM.parityData[k] == nil {
    								continue
    							}
    							for i, data := range v {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 31 14:49:23 UTC 2024
    - 38.5K bytes
    - Viewed (0)
Back to top