Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 81 for tconv (0.13 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/lite/experimental/tac/transforms/device_transform_patterns.cc

                          weight_new_shape, &rewriter);
    
      // Replace the fc with conv.
      // The output would be [1, 1, width, output].
      auto conv_output_type = RankedTensorType::get({1, 1, width, output_size},
                                                    output_type.getElementType());
      auto conv = rewriter.create<TFL::Conv2DOp>(
          fc_op.getLoc(), conv_output_type, reshaped_input, reshaped_weight,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/typecheck/typecheck.go

    		return tcDelete(n)
    
    	case ir.OAPPEND:
    		n := n.(*ir.CallExpr)
    		return tcAppend(n)
    
    	case ir.OCOPY:
    		n := n.(*ir.BinaryExpr)
    		return tcCopy(n)
    
    	case ir.OCONV:
    		n := n.(*ir.ConvExpr)
    		return tcConv(n)
    
    	case ir.OMAKE:
    		n := n.(*ir.CallExpr)
    		return tcMake(n)
    
    	case ir.ONEW:
    		n := n.(*ir.UnaryExpr)
    		return tcNew(n)
    
    	case ir.OPRINT, ir.OPRINTLN:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 19:08:34 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/quantize_preprocess.cc

          mlir::mhlo::createLegalizeDotToDotGeneralPass());
      // Unfuse mhlo BatchNorm to primitive ops.
      pm.addNestedPass<mlir::func::FuncOp>(mlir::odml::createUnfuseBatchNormPass());
      // Fuse Conv + Mul to Conv.
      pm.addNestedPass<mlir::func::FuncOp>(mlir::odml::createFuseConvolutionPass());
      // Fold broadcast_in_dim + Mul.
      pm.addNestedPass<mlir::func::FuncOp>(mlir::odml::createFoldBroadcastPass());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 12:49:45 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/walk/range.go

    	src = typecheck.Expr(src)
    	if dst.Kind() == types.TBLANK || types.Identical(dst, src.Type()) {
    		return src
    	}
    
    	n := ir.NewConvExpr(nrange.Pos(), ir.OCONV, dst, src)
    	n.TypeWord = typeWord
    	n.SrcRType = srcRType
    	return typecheck.Expr(n)
    }
    
    // isMapClear checks if n is of the form:
    //
    //	for k := range m {
    //		delete(m, k)
    //	}
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:33 UTC 2023
    - 17.6K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/asm.go

    	}
    	return addr.Offset
    }
    
    // getRegister checks that addr represents a register and returns its value.
    func (p *Parser) getRegister(prog *obj.Prog, op obj.As, addr *obj.Addr) int16 {
    	if addr.Type != obj.TYPE_REG || addr.Offset != 0 || addr.Name != 0 || addr.Index != 0 {
    		p.errorf("%s: expected register; found %s", op, obj.Dconv(prog, addr))
    	}
    	return addr.Reg
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  7. src/encoding/base64/base64_test.go

    			got := tt.enc.EncodeToString([]byte(p.decoded))
    			testEqual(t, "Encode(%q) = %q, want %q", p.decoded, got, tt.conv(p.encoded))
    			dst := tt.enc.AppendEncode([]byte("lead"), []byte(p.decoded))
    			testEqual(t, `AppendEncode("lead", %q) = %q, want %q`, p.decoded, string(dst), "lead"+tt.conv(p.encoded))
    		}
    	}
    }
    
    func TestEncoder(t *testing.T) {
    	for _, p := range pairs {
    		bb := &strings.Builder{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Sep 03 18:57:29 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/grappler/grappler_test.cc

      ASSERT_EQ(status.message(),
                "'optimize_func' field in TP_Optimizer must be set.");
    }
    
    TEST(TF_GrapplerItem, NodesToPreserve) {
      GrapplerItem item;
      item.fetch = std::vector<string>{"Conv", "BiasAdd"};
      std::unordered_set<string> nodes_preserved = item.NodesToPreserve();
      TF_GrapplerItem* c_item = reinterpret_cast<TF_GrapplerItem*>(&item);
    
      int list_total_size = 0;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 13 22:30:58 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/tests/prepare_lifting.mlir

    // CHECK: %[[conv:.*]] = "tf.Conv2D"(%[[dq_input]], %[[dq_weight]])
    // CHECK: %[[bias:.*]] = "tf.BiasAdd"(%[[conv]], %[[cst_0]]) <{data_format = "NHWC"}>
    // CHECK: %[[relu6:.*]] = "tf.Relu6"(%[[bias]])
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 03:24:59 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tests/quantize.mlir

    // CHECK: %[[cst1:.*]] = "tfl.pseudo_qconst"() <{qtype = tensor<32x3x3x3x!quant.uniform<u8<1:255>:f32, 1.000000e-01>>, value = dense<1> : tensor<32x3x3x3xi8>}>
    // CHECK: %[[conv:.*]] = "tfl.conv_2d"(%arg0, %[[cst1]], %[[cst0]])
    // CHECK: return %[[conv]] : tensor<1x112x112x32x!quant.uniform<u8:f32, 0.023528476789885875>>
    }
    
    // CHECK-LABEL: QuantizeConv2D4Bit
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:10:13 UTC 2024
    - 39.7K bytes
    - Viewed (0)
Back to top