Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 66 for conv4 (0.09 sec)

  1. src/cmd/compile/internal/walk/order.go

    		ir.ORECOVERFP,
    		ir.OSTR2BYTES,
    		ir.OSTR2BYTESTMP,
    		ir.OSTR2RUNES:
    
    		if isRuneCount(n) {
    			// len([]rune(s)) is rewritten to runtime.countrunes(s) later.
    			conv := n.(*ir.UnaryExpr).X.(*ir.ConvExpr)
    			conv.X = o.expr(conv.X, nil)
    		} else {
    			o.call(n)
    		}
    
    		if lhs == nil || lhs.Op() != ir.ONAME || base.Flag.Cfg.Instrumenting {
    			return o.copyExpr(n)
    		}
    		return n
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:33 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_config.h

      // FakeQuant).
      bool disable_per_channel = false;
    
      // Whether to disable per-channel weight quantization and enable legacy per
      // tensor quantization. The legacy quantization for Dense layers is
      // inconsistent with Conv 1x1 which always performs per channel quantization.
      bool disable_per_channel_for_dense_layers = false;
    
      // Whether to use fixed output ranges of the activation ops (tanh, sigmoid,
      // etc.) and not infer weight constants.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 13 10:16:19 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. src/net/http/transfer.go

    func shouldClose(major, minor int, header Header, removeCloseHeader bool) bool {
    	if major < 1 {
    		return true
    	}
    
    	conv := header["Connection"]
    	hasClose := httpguts.HeaderValuesContainsToken(conv, "close")
    	if major == 1 && minor == 0 {
    		return hasClose || !httpguts.HeaderValuesContainsToken(conv, "keep-alive")
    	}
    
    	if hasClose && removeCloseHeader {
    		header.Del("Connection")
    	}
    
    	return hasClose
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 22:14:00 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/walk/range.go

    		}
    
    		// hv2 := rune(ha[hv1])
    		nind := ir.NewIndexExpr(base.Pos, ha, hv1)
    		nind.SetBounded(true)
    		body = append(body, ir.NewAssignStmt(base.Pos, hv2, typecheck.Conv(nind, types.RuneType)))
    
    		// if hv2 < utf8.RuneSelf
    		nif := ir.NewIfStmt(base.Pos, nil, nil, nil)
    		nif.Cond = ir.NewBinaryExpr(base.Pos, ir.OLT, hv2, ir.NewInt(base.Pos, utf8.RuneSelf))
    
    		// hv1++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:33 UTC 2023
    - 17.6K bytes
    - Viewed (0)
  5. 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)
  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. src/cmd/compile/internal/typecheck/builtin.go

    	{"slicerunetostring", funcTag, 48},
    	{"stringtoslicebyte", funcTag, 50},
    	{"stringtoslicerune", funcTag, 53},
    	{"slicecopy", funcTag, 54},
    	{"decoderune", funcTag, 55},
    	{"countrunes", funcTag, 56},
    	{"convT", funcTag, 57},
    	{"convTnoptr", funcTag, 57},
    	{"convT16", funcTag, 59},
    	{"convT32", funcTag, 61},
    	{"convT64", funcTag, 62},
    	{"convTstring", funcTag, 63},
    	{"convTslice", funcTag, 66},
    	{"assertE2I", funcTag, 67},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top