Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 211 for getIpr (0.13 sec)

  1. tensorflow/compiler/mlir/lite/experimental/tac/transforms/compute_cost.cc

        return "Compute the total cost for each available subgraph.";
      }
      void runOnOperation() override;
    };
    
    void ComputeCostPass::runOnOperation() {
      auto module = getOperation();
    
      for (auto func : module.getOps<func::FuncOp>()) {
        // We only care about those functions annotated with "tac.interface_name".
        auto interface_name = GetInterFaceName(func);
        if (!interface_name.has_value()) continue;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 24 15:10:02 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  2. 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)
  3. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/SourceFolder.java

        }
    
        public List<String> getExcludes() {
            return excludes;
        }
    
        public void setExcludes(List<String> excludes) {
            this.excludes = excludes;
        }
    
        public File getDir() {
            return dir;
        }
    
        public void setDir(File dir) {
            this.dir = dir;
        }
    
        public String getName() {
            return name;
        }
    
        public void setName(String name) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_inline_tpu_island.cc

      // Move all remaining nested functions back into the parent module.
      Block &nested_block = nested_module->getRegion(0).front();
      for (func::FuncOp func_op :
           llvm::make_early_inc_range(nested_block.getOps<func::FuncOp>())) {
        if (!symbol_table.lookupSymbolIn(getOperation(), func_op.getName())) {
          nested_block.getOperations().remove(func_op.getOperation());
          symbol_table.insert(func_op.getOperation());
        }
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 08:06:04 UTC 2023
    - 4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. tensorflow/compiler/mlir/tensorflow/transforms/remove_vars_in_session_initializer.cc

          init_func_op.emitError("expects exactly one block in the MLIR function");
          return signalPassFailure();
        }
    
        auto var_handle_ops =
            init_func_op.getBlocks().front().getOps<VarHandleOp>();
        llvm::SmallVector<VarHandleOp, 4> init_vars(var_handle_ops.begin(),
                                                    var_handle_ops.end());
        RemoveVariables(init_vars);
      }
    }
    
    }  // namespace
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/add_functions_for_exported_names.cc

          }
        }
      }
    }
    
    void AddFunctionsForExportedNamesPass::runOnOperation() {
      Block& module_body = getOperation().getRegion().front();
      for (auto f :
           llvm::make_early_inc_range(getOperation().getOps<func::FuncOp>())) {
        auto exported_names = GetExportedNames(f);
        if (exported_names.empty() || !f.isPublic()) continue;
    
        if (exported_names.size() == 1 && exported_names[0] == f.getName()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 08:06:04 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/cc/save_variables.cc

      if (!bundle_writer.status().ok()) {
        return bundle_writer.status();
      }
    
      std::vector<std::string> saved_variable_shared_names;
      for (auto assign_variable_op :
           session_init_func_type_restore_op.getOps<mlir::TF::AssignVariableOp>()) {
        if (const absl::StatusOr<std::string> variable_shared_name =
                AddTensorToBundleWriter(assign_variable_op, bundle_writer);
            !variable_shared_name.ok()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 03:36:55 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top