Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 49 of 49 for conv4 (0.14 sec)

  1. 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)
  2. 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)
  3. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.h

                                                    Operation* target_op,
                                                    int operand_index);
    
      // Adjusts bias scale that is derived from other scales (fc, conv ops) to
      // prevent overflow of quantized bias values. This also changes quantization
      // state of other inputs when needed.
      bool SetBiasParamsWithAdjustments(Operation* op, int bias_index,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 11:42:17 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/staticinit/sched.go

    			return true
    		}
    		// We may have skipped past one or more OCONVNOPs, so
    		// use conv to ensure r is assignable to l (#13263).
    		dst := ir.Node(l)
    		if loff != 0 || !types.Identical(typ, l.Type()) {
    			dst = ir.NewNameOffsetExpr(base.Pos, l, loff, typ)
    		}
    		s.append(ir.NewAssignStmt(base.Pos, dst, typecheck.Conv(r, typ)))
    		return true
    
    	case ir.ONIL:
    		return true
    
    	case ir.OLITERAL:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 17:16:14 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/passes.td

        Option<"is_signed_", "is-signed", "bool", "false",
                   "Is the corresponding integer signed">,
      ];
    }
    
    def IdentifyDilatedConvPass : Pass<"tfl-identify-dilated-conv", "mlir::func::FuncOp"> {
      let summary = "Convert dense tensor to sparse format.";
      let constructor = "CreateIdentifyDilatedConvPass()";
      let dependentDialects = ["TFL::TensorFlowLiteDialect"];
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/controller.go

    	for _, svc := range services {
    		hostname := kube.ServiceHostname(svc.Name, svc.Namespace, c.opts.DomainSuffix)
    		c.Lock()
    		conv, f := c.servicesMap[hostname]
    		c.Unlock()
    		if !f {
    			return
    		}
    		shard := model.ShardKeyFromRegistry(c)
    		endpoints := c.buildEndpointsForService(conv, true)
    		if len(endpoints) > 0 {
    			c.opts.XDSUpdater.EDSCacheUpdate(shard, string(hostname), svc.Namespace, endpoints)
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  7. src/go/parser/parser_test.go

    	{name: "recv", format: "package main; var x = «<-»x"},
    	{name: "call", format: "package main; var x = «f(«1»)»", parseMultiplier: 2},    // Parser nodes: Ident, CallExpr
    	{name: "conv", format: "package main; var x = «(*T)(«1»)»", parseMultiplier: 2}, // Parser nodes: ParenExpr, CallExpr
    	{name: "label", format: "package main; func main() { «Label:» }"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 20:26:14 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.cc

      // For now, restrict scale adjustment to ops with affine quantized weights,
      // and having weights and biases as constants. This currently only applies to
      // FC and Conv* ops. Restriction for the weight can be relaxed if there are
      // needs for adjusting scale of variable weights.
      auto affine_op = dyn_cast<AffineQuantizedOpInterface>(op);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 38.1K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/typecheck/typecheck.go

    			return false
    		}
    	}
    
    	// DefaultLit is necessary for non-constants too: n might be 1.1<<k.
    	n = DefaultLit(n, types.Types[types.TINT])
    	*np = n
    
    	return true
    }
    
    func Conv(n ir.Node, t *types.Type) ir.Node {
    	if types.IdenticalStrict(n.Type(), t) {
    		return n
    	}
    	n = ir.NewConvExpr(base.Pos, ir.OCONV, nil, n)
    	n.SetType(t)
    	n = Expr(n)
    	return n
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 19:08:34 UTC 2024
    - 30.5K bytes
    - Viewed (0)
Back to top