Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 87 for getIpr (0.28 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/passes/insert_weight_param.cc

        if (function_name.contains("conv")) {
          return (*(func.getOps<mlir::stablehlo::ConvolutionOp>().begin()))
              .getDimensionNumbers()
              .getKernelOutputFeatureDimension();
        } else if (function_name.contains("dot_general")) {
          auto dot = *(func.getOps<mlir::stablehlo::DotGeneralOp>().begin());
          const ::mlir::stablehlo::DotDimensionNumbersAttr dimension_numbers =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 05:56:10 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc

    }  // namespace
    
    void LegalizeTFGToTFE::runOnOperation() {
      MLIRContext &context = getContext();
      ModuleOp module = getOperation();
    
      DenseSet<StringRef> func_symbols;
      for (auto &op : module.getBodyRegion().getOps()) {
        if (auto func = llvm::dyn_cast<tfg::GraphFuncOp>(op)) {
          func_symbols.insert(
              func->getAttrOfType<StringAttr>(SymbolTable::getSymbolAttrName())
                  .getValue());
        }
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  3. cmd/kubelet/app/server_bootstrap_test.go

    		}
    		fi[path] = info
    		if !info.IsDir() {
    			os.Remove(path)
    		}
    		return nil
    	})
    	return fi
    }
    
    type rotater interface {
    	RotateCerts() (bool, error)
    }
    
    func getCSR(req *http.Request) (*certapi.CertificateSigningRequest, error) {
    	if req.Body == nil {
    		return nil, nil
    	}
    	body, err := io.ReadAll(req.Body)
    	if err != nil {
    		return nil, err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 01 05:59:41 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_sequencing.cc

      // funtion. This is critical for preserving correctness in the presence of
      // resource variables and stateful functions.
      std::vector<Operation*> topological_order;
      for (Operation& op : parent_func.getOps())
        if (ops.contains(&op)) topological_order.push_back(&op);
    
      // Create the partitioned call
      builder.restoreInsertionPoint(insertion_point);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/merge_save_function_ops_to_main.cc

      auto func_ops = module_op.getOps<func::FuncOp>();
      auto main_func_itr = absl::c_find_if(func_ops, [&main_func_id](auto func_op) {
        return func_op.getName() == main_func_id;
      });
    
      if (main_func_itr == func_ops.end()) return {};
      return *main_func_itr;
    }
    
    func::FuncOp GetSaveFuncOp(ModuleOp module_op) {
      for (auto func_op : module_op.getOps<func::FuncOp>()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/unfreeze_constants.cc

      // functions and avoid converting ConstOps inside initializer functions.
      for (auto func_op : module_op.getOps<func::FuncOp>()) {
        // Do not unfreeze constants under these functions.
        if (func_op.getSymName().contains("while_body")) continue;
        if (func_op.getSymName().contains("while_cond")) continue;
        absl::c_copy_if(func_op.getOps<TF::ConstOp>(),
                        std::back_inserter(target_const_ops),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 16 15:04:53 UTC 2023
    - 14K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/prepare_tpu_computation_for_tf_export.cc

        // input token in the parent op or a new token for the entry computation.
        auto token = StringAttr::get(ctx, tensorflow::kXlaTokenArgNodeName);
        for (Operation& op : region->getOps()) {
          // Only communication related ops that needs to have token should have the
          // extra attribute.
          if (!ops_with_tokens.contains(&op)) continue;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.cc

                .append("duplicate exported name '", exported_name, "'")
                .attachNote(p.first->getSecond()->getLoc())
                .append("previously seen here");
          }
        }
      }
      for (auto func : module.getOps<func::FuncOp>()) {
        const bool is_exported = IsExported(func);
    
        if (is_exported && !func.isPublic()) {
          return func.emitError()
                 << "exported function @" << func.getName() << " should be public";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_island_coarsening.cc

      llvm::DenseMap<func::FuncOp, llvm::DenseSet<func::FuncOp>> caller_callee_map;
      // Creates work queue for determining reachability below.
      std::queue<func::FuncOp> function_worklist;
    
      for (auto func : module.getOps<func::FuncOp>()) {
        for (auto user : symbol_map.getUsers(func)) {
          // Populates work queue with func ops called from TPUPartionedCall.
          if (llvm::isa<TF::TPUPartitionedCallOp>(user)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/internal/classpath/BuildScriptClasspathIntegrationSpec.groovy

                        public static String getBar() {
                            return "DEFAULT";
                        }
                    }
                """
                file("src/java11/java/org/gradle/test/mrjar/Foo.java") << """
                    package org.gradle.test.mrjar;
    
                    public class Foo {
                        public static String getBar() {
                            return "11";
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:47 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top