Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 161 for functor (0.17 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td

      let summary =
        "returns `f(inputs)`, where `f` is a function.";
    
      let description = [{
        The LegacyCall operation represents a direct call to a function that is
        within the same symbol scope as the call and is mapped to a GraphDef node
        with the function name as the op name. Unlike a PartitionedCall which
        represents asynchronously executing a function across multiple devices, a
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 04:08:35 UTC 2024
    - 90.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc

    LogicalResult ResourceLiftingForFunctionalControlFlow(func::FuncOp function) {
      // This routine should only be called when control flow operations are still
      // represented with TF IfOp and WhileOp operations. In this case, there should
      // be only one basic blocks in the MLIR representation.
      if (!llvm::hasSingleElement(function)) {
        return function.emitError()
               << "expect the function to have 1 block while it has "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

        str.getValue().split(result, ',', /*MaxSplit=*/-1,
                             /*KeepEmpty=*/false);
      }
      return result;
    }
    
    // Sets signature attributes on the function.
    void SetSignature(
        FuncOp func, const tflite::SignatureDefT* signature,
        const std::vector<std::unique_ptr<tflite::TensorT>>& tensors) {
      auto* context = func->getContext();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

      auto out_types = GetValueTypes(outputs);
      builder.setInsertionPointToEnd(&module.getBodyRegion().back());
      auto func_op = builder.create<func::FuncOp>(
          module.getLoc(), name, builder.getFunctionType(in_types, out_types));
      func_op.setPrivate();
      symbol_table.insert(func_op);
      return func_op;
    }
    
    TF::StatefulPartitionedCallOp EncapsulateOpsInFunc(
        OpBuilder& builder, SymbolTable& symbol_table,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  5. src/runtime/traceback.go

    // called. The context function may be nil, in which case the
    // traceback function will only be called with the context field set
    // to zero.  If the context function is nil, then calls from Go to C
    // to Go will not show a traceback for the C portion of the call stack.
    //
    // SetCgoTraceback should be called only once, ideally from an init function.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/apis/kubeadm/v1beta4/zz_generated.conversion.go

    	out.AdvertiseAddress = in.AdvertiseAddress
    	out.BindPort = in.BindPort
    	return nil
    }
    
    // Convert_v1beta4_APIEndpoint_To_kubeadm_APIEndpoint is an autogenerated conversion function.
    func Convert_v1beta4_APIEndpoint_To_kubeadm_APIEndpoint(in *APIEndpoint, out *kubeadm.APIEndpoint, s conversion.Scope) error {
    	return autoConvert_v1beta4_APIEndpoint_To_kubeadm_APIEndpoint(in, out, s)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 61.4K bytes
    - Viewed (0)
  7. cluster/gce/windows/k8s-node-setup.psm1

    # Setup the containerd on the node.
    function Setup-ContainerRuntime {
      Install-Pigz
      Install_Containerd
      Configure_Containerd
      Start_Containerd
    }
    
    function Test-ContainersFeatureInstalled {
      return (Get-WindowsFeature Containers).Installed
    }
    
    # After this function returns, the computer must be restarted to complete
    # the installation!
    function Install-ContainersFeature {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 88.3K bytes
    - Viewed (0)
  8. hack/local-up-cluster.sh

        ETCD_PID=
      fi
    }
    
    function print_color {
      message=$1
      prefix=${2:+$2: } # add colon only if defined
      color=${3:-1}     # default is red
      echo -n "$(tput bold)$(tput setaf "${color}")"
      echo "${prefix}${message}"
      echo -n "$(tput sgr0)"
    }
    
    function warning_log {
      print_color "$1" "W$(date "+%m%d %H:%M:%S")]" 1
    }
    
    function start_etcd {
        echo "Starting etcd"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 25 02:33:52 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy

                // Emulate concurrent get() in other thread
                EvaluationContext.current().evaluateNested(property::get)
            }
            1 * function.call() >> someValue()
            0 * function._
    
            when:
            def result2 = property.get()
    
            then:
            result2 == someValue()
            0 * function._
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 87.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc

    // Transfers the location of the main op in float function to ops with
    // `attr_map` attributes in quantized function.
    LogicalResult TransferLocation(func::FuncOp float_func,
                                   func::FuncOp quantized_func) {
      Operation* main_op = nullptr;
      for (Operation& inner_op : float_func.getBody().front().getOperations()) {
        // Expect only one quantizable op in the composite function.
        if (IsOpWithQuantizableTrait(&inner_op)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 54.5K bytes
    - Viewed (0)
Back to top