Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 64 for DRconv (0.36 sec)

  1. tensorflow/compiler/mlir/lite/tests/post-quantize.mlir

    // CHECK-NEXT:  %[[conv:.*]] = "tfl.conv_2d"(%arg0, %[[q_cst_0]], %[[q_cst_1]]) <{dilation_h_factor = 1 : i32, dilation_w_factor = 1 : i32, fused_activation_function = "NONE", padding = "SAME", stride_h = 2 : i32, stride_w = 2 : i32}>
    // CHECK-NEXT:  %[[reshape:.*]] = "tfl.reshape"(%[[conv]], %[[cst]]) : (tensor<1x112x112x32x!quant.uniform<u8:f32, 0.023528476789885875>>, tensor<2xi32>)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

            input_shape=(1, 3, 4, 3), filter_shape=(2, 3, 3, 2)
        )
    
        signatures = {
            'serving_default': model.conv.get_concrete_function(),
        }
        save_opts = save_options.SaveOptions(
            function_aliases={'conv_func': model.conv}
        )
    
        saved_model_save.save(
            model, self._input_saved_model_path, signatures, save_opts
        )
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/x86/asm6.go

    			return Yi32
    		}
    
    		if a.Sym != nil || a.Name != obj.NAME_NONE {
    			ctxt.Diag("unexpected addr: %v", obj.Dconv(p, a))
    		}
    		fallthrough
    
    	case obj.TYPE_CONST:
    		if a.Sym != nil {
    			ctxt.Diag("TYPE_CONST with symbol: %v", obj.Dconv(p, a))
    		}
    
    		v := a.Offset
    		if ctxt.Arch.Family == sys.I386 {
    			v = int64(int32(v))
    		}
    		switch {
    		case v == 0:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/quantization/lite/quantize_weights_test.cc

        const auto float_graph = model_->subgraphs()->Get(subgraph_idx);
        ASSERT_EQ(quantized_graph->tensors()->size(),
                  float_graph->tensors()->size());
        // Make sure the graph only has one Conv operation.
        ASSERT_EQ(quantized_graph->operators()->size(), 1);
        const auto op = quantized_graph->operators()->Get(0);
        const uint32_t op_code_idx = op->opcode_index();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  5. src/cmd/cgo/gcc.go

    			conv.getTypeIDs[n.Go[:len(n.Go)-9]] = true
    		}
    	}
    	for i, n := range names {
    		if types[i] == nil {
    			continue
    		}
    		pos := f.NamePos[n]
    		f, fok := types[i].(*dwarf.FuncType)
    		if n.Kind != "type" && fok {
    			n.Kind = "func"
    			n.FuncType = conv.FuncType(f, pos)
    		} else {
    			n.Type = conv.Type(types[i], pos)
    			switch n.Kind {
    			case "iconst":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/dense_to_sparse.cc

        type = mlir::cast<ShapedType>(cst.getType());
      } else {
        result.can_compress = false;
        return result;
      }
    
      // Currently we only support compressing weights of ops:
      //   Conv, DepthwiseConv, TransposeConv, whose filter has rank 4, and
      //   FullyConnected, whose filter has rank 2.
      if (type.getRank() != 2 && type.getRank() != 4) {
        result.can_compress = false;
        return result;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test_base.py

                input_tensor,
                self.filters,
                strides=strides,
                dilations=dilations,
                padding=padding,
                data_format='NHWC',
                name='sample/conv',
            )
            if bias_fn is not None:
              out = nn_ops.bias_add(out, self.bias)
            if has_batch_norm:
              # Fusing is supported for non-training case.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/replace_cast_hacks_with_tf_xla_ops.cc

    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    #include "xla/xla_data.pb.h"
    
    namespace mlir::quant {
    namespace {
    
    constexpr StringRef kTfQuantCreatedEinsum = "__tf_quant_created_einsum";
    
    // Replaces mixed-type Conv and Matmul cast hacks with TF XLA ops.
    // TODO(b/228403741): Support conversion for dynamic-shaped TF ops.
    class ReplaceCastHacksWithTFXLAOpsPass
        : public PassWrapper<ReplaceCastHacksWithTFXLAOpsPass,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/optimize.cc

      if (elements_depth == 1) {
        return true;
      }
    
      // In TFLite Conv2D uses OHWI format for filter, and 1HWO for Depthwise Conv.
      // For conv:
      // Check if last dimension in filter equals the first dimension
      // For depthwise conv:
      // Check if the first in filter dimension equals the first dimension.
      if (filter_shape.empty() ||
          (is_depthwise ? filter_shape.back() != elements_depth
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssagen/ssa.go

    				}
    				if ft.Size() == 8 {
    					return s.float64ToUint32(n, v, ft, tt)
    				}
    			}
    		}
    
    		if !ok {
    			s.Fatalf("weird float conversion %v -> %v", ft, tt)
    		}
    		op1, op2, it := conv.op1, conv.op2, conv.intermediateType
    
    		if op1 != ssa.OpInvalid && op2 != ssa.OpInvalid {
    			// normal case, not tripping over unsigned 64
    			if op1 == ssa.OpCopy {
    				if op2 == ssa.OpCopy {
    					return v
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top