Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 437 for rewrite (0.19 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/prepare_tpu_computation_for_tf_export.cc

              /*device_ordinal=*/rewriter.getI64IntegerAttr(0),
              rewriter.getStringAttr("TPU"));
        }
    
        constexpr int64_t kDefaultCostEstimate = 1000000;
        rewriter.replaceOpWithNewOp<TF::XlaHostComputeOp>(
            op, op.getResultTypes(), op.getInputs(),
            /*ancestors=*/rewriter.getArrayAttr({}),
            rewriter.getArrayAttr(shape_attrs),
            /*shape_inference_graph=*/
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_lowering_patterns.td

    def IsNhwcLayoutOp: Constraint<Neg<IsNchwLayoutOp.predicate>>;
    
    // TODO(b/343278954): Move the creation of transposes to a separate prepare pass
    // to avoid creating multiple pattern-rewrite rules for the same composite op.
    def LegalizeTorchUpsampleBlinear2dComposite: Pat<
        (MHLO_CompositeOp:$old_val
        (variadic $input),
        ConstantStrAttr<StrAttr, "odml.upsample_bilinear2d">, $attrs, $_, $_),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/rewrite_tpu_embedding_ops.cc

      auto dedup_op = builder.create<XlaRecvTPUEmbeddingDeduplicationDataOp>(
          loc, output_ty, config);
    
      // Rewrite RecvTPUEmbeddingActivations op to the corresponding internal op.
      if (recv_op)
        AddOperandAndRewriteAs<XlaRecvTPUEmbeddingActivationsOp>(
            recv_op, dedup_op, recv_op->getAttrs(), &builder);
    
      // Rewrite SendTPUEmbeddingGradients op to the corresponding internal op and
      // then update the OperandSegmentSize attribute.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 22:55:42 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. src/cmd/go/internal/work/gc.go

    				}
    			} else {
    				// Non-overlay Go files are covered by the a.Package.Dir rewrite rule above.
    			}
    		}
    	}
    	if hasCgoOverlay {
    		rewrite += overlayNonGoRewrites
    	}
    	rewrite += objdir + "=>"
    
    	return rewrite
    }
    
    func asmArgs(a *Action, p *load.Package) []any {
    	// Add -I pkg/GOOS_GOARCH so #include "textflag.h" works in .s files.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:37:44 UTC 2024
    - 23K bytes
    - Viewed (0)
  5. .github/workflows/go-healing.yml

              sudo sysctl net.ipv6.conf.default.disable_ipv6=0
              make verify-healing
              make verify-healing-inconsistent-versions
              make verify-healing-with-root-disks
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. src/cmd/internal/buildid/buildid_test.go

    		if err != nil {
    			t.Error(err)
    			continue
    		}
    		err = Rewrite(tf, m, newID)
    		err2 := tf.Close()
    		if err != nil {
    			t.Errorf("Rewrite(%s): %v", f, err)
    			continue
    		}
    		if err2 != nil {
    			t.Fatal(err2)
    		}
    
    		id, err = ReadFile(tmp)
    		if id != newID || err != nil {
    			t.Errorf("ReadFile(%s after Rewrite) = %q, %v, want %q, nil", f, id, err, newID)
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:28 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. Makefile

    	@echo "Verify healing with root drives"
    	@(env bash $(PWD)/buildscripts/verify-healing-with-root-disks.sh)
    
    verify-healing-with-rewrite: install-race ## verify healing to rewrite old xl.meta -> new xl.meta
    	@echo "Verify healing with rewrite"
    	@(env bash $(PWD)/buildscripts/rewrite-old-new.sh)
    
    verify-healing-inconsistent-versions: install-race ## verify resolving inconsistent versions
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 17:41:02 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc

          return failure();
        }
    
        return success();
      }
    
      void rewrite(stablehlo::UniformDequantizeOp op,
                   PatternRewriter& rewriter) const override {
        rewriter.replaceOpWithNewOp<TFL::DequantizeOp>(
            op, /*resultTypes=*/op->getResultTypes(), /*input=*/op.getOperand());
      }
    };
    
    // Rewrites `stablehlo.dot_general` to `tfl.fully_connected` or
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 09:00:19 UTC 2024
    - 99.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfrt/tests/mlrt/rewrite_ifrt_load_variable.mlir

    // RUN: tf-tfrt-opt -split-input-file -tf-mlrt-rewrite-ifrt-load-variable %s | FileCheck %s
    
    // Variable is used by both CPU and TPU
    //
    // CHECK-LABEL: func @serving_default(%arg0: tensor<1x3xf32>) -> tensor<1x1xf32>
    // CHECK-NEXT:    [[HANDLE:%.*]] = "tf.VarHandleOp"()
    // CHECK-NEXT:    [[ARRAYKEY:%.*]], [[FURTURE:%.*]] = "tf_mlrt.tf_ifrt_load_variable"([[HANDLE]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:35:32 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. cni/pkg/install/kubeconfig.go

    		return kubeconfig{}, err
    	}
    
    	return kubeconfig{
    		Full:     string(fullYaml),
    		Redacted: string(redacted),
    	}, nil
    }
    
    // maybeWriteKubeConfigFile will validate the existing kubeConfig file, and rewrite/replace it if required.
    func maybeWriteKubeConfigFile(cfg *config.InstallConfig) error {
    	kc, err := createKubeConfig(cfg)
    	if err != nil {
    		return err
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 21:52:29 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top