Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 102 for getOpt (0.3 sec)

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

      for (const Attribute& attr : op.getDeviceVarReadsIndices()) {
        read_array.insert(mlir::cast<IntegerAttr>(attr).getInt());
      }
      llvm::SmallSet<int, 8> update_array;
      for (const Attribute& attr : op.getDeviceVarUpdatesIndices()) {
        update_array.insert(mlir::cast<IntegerAttr>(attr).getInt());
      }
    
      for (auto& arg : op->getOpOperands()) {
        Value v = arg.get();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K 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-plugins/src/main/java/org/gradle/plugins/ide/eclipse/EclipsePlugin.java

                            Set<String> containers = new LinkedHashSet<>();
                            containers.add("org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/" + model.getJdt().getJavaRuntimeName() + "/");
                            containers.addAll(model.getClasspath().getContainers());
                            model.getClasspath().setContainers(containers);
                        }
                    });
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 23.5K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/DefaultScriptCompilationHandler.java

                hasPackageStatement = source.getAST().getPackageName() != null;
            }
        }
    
        private static class EmptyScriptDetector extends CompilationUnit.SourceUnitOperation {
            private boolean emptyScript;
            private boolean hasMethods;
    
            @Override
            public void call(SourceUnit source) {
                if (!source.getAST().getMethods().isEmpty()) {
                    hasMethods = true;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.6K 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. cmd/object-multipart-handlers.go

    		return
    	}
    	srcOpts.VersionID = vid
    
    	// convert copy src and dst encryption options for GET/PUT calls
    	getOpts := ObjectOptions{VersionID: srcOpts.VersionID}
    	if srcOpts.ServerSideEncryption != nil {
    		getOpts.ServerSideEncryption = encrypt.SSE(srcOpts.ServerSideEncryption)
    	}
    
    	dstOpts, err = copyDstOpts(ctx, r, dstBucket, dstObject, nil)
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 38.8K bytes
    - Viewed (0)
  7. 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)
  8. tensorflow/compiler/mlir/tensorflow/utils/export_utils.cc

      value->set_b(attr.getValue());
      return absl::OkStatus();
    }
    
    Status ConvertAttribute(const mlir::IntegerAttr& attr, AttrValue* value) {
      value->set_i(attr.getInt());
      return absl::OkStatus();
    }
    
    Status ConvertAttribute(const mlir::FloatAttr& attr, AttrValue* value) {
      value->set_f(attr.getValueAsDouble());
      return absl::OkStatus();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_variable_runtime_reformatting.cc

        auto arg_metadata = metadata.mutable_args(arg_index);
        if (arg_metadata->enable_xla_sharding() ==
            ::tensorflow::tpu::TPUCompileMetadataProto_Arg::ALLOWED) {
          int64_t ret_index =
              mlir::cast<IntegerAttr>(
                  execute.getDeviceVarUpdatesIndices().getValue()[entry.index()])
                  .getInt();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  10. src/math/big/nat.go

    	}
    	m := a + (b-a)/2 // avoid overflow
    	return z.mul(nat(nil).mulRange(a, m), nat(nil).mulRange(m+1, b))
    }
    
    // getNat returns a *nat of len n. The contents may not be zero.
    // The pool holds *nat to avoid allocation when converting to interface{}.
    func getNat(n int) *nat {
    	var z *nat
    	if v := natPool.Get(); v != nil {
    		z = v.(*nat)
    	}
    	if z == nil {
    		z = new(nat)
    	}
    	*z = z.make(n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:31:58 UTC 2024
    - 31.7K bytes
    - Viewed (0)
Back to top