Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 106 for Decomposes (0.32 sec)

  1. tensorflow/compiler/mlir/tfrt/tests/ifrt/sink_variable_as_named_array.mlir

    // RUN: tf-tfrt-opt -split-input-file -tf-device-decompose-resource-ops -sink-variable-as-named-array %s | FileCheck %s
    
    // -----
    // Basic test: all variables tensors are for devices and sinked as named ifrt arrays
    //
    //
    // CHECK-LABEL:  func.func @serving_default(%arg0: tensor<1x3xf32>) -> tensor<1x1xf32> {
    // CHECK-NEXT:   [[HANDLE2:%.*]] = "tf.VarHandleOp"
    // CHECK-NEXT:   [[KEY:%.*]], [[FUTURE:%.*]] = "tf.IfrtLoadVariable"([[HANDLE2]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 15:33:17 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/debug.go

    	}
    
    	if state.varParts == nil {
    		state.varParts = make(map[*ir.Name][]SlotID)
    	} else {
    		for n := range state.varParts {
    			delete(state.varParts, n)
    		}
    	}
    
    	// Recompose any decomposed variables, and establish the canonical
    	// IDs for each var and slot by filling out state.vars and state.slots.
    
    	state.slots = state.slots[:0]
    	state.vars = state.vars[:0]
    	for i, slot := range f.Names {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

       *
       * TODO: for sets, sort by tag when encoding.
       * TODO: for set ofs, sort by encoded value when encoding.
       */
      fun <T> sequence(
        name: String,
        vararg members: DerAdapter<*>,
        decompose: (T) -> List<*>,
        construct: (List<*>) -> T,
      ): BasicDerAdapter<T> {
        val codec =
          object : BasicDerAdapter.Codec<T> {
            override fun decode(reader: DerReader): T {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     *
     * The path identifies a specific resource on the host. Paths have a hierarchical structure like
     * "/square/okhttp/issues/1486" and decompose into a list of segments like `["square", "okhttp",
     * "issues", "1486"]`.
     *
     * This class offers methods to compose and decompose paths by segment. It composes each path
     * from a list of segments by alternating between "/" and the encoded segment. For example the
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewritedec64.go

    	// cond: is64BitInt(v.Type) && !config.BigEndian && v.Type.IsSigned() && !(b.Func.pass.name == "decompose builtin")
    	// result: (Int64Make (Arg <typ.Int32> {n} [off+4]) (Arg <typ.UInt32> {n} [off]))
    	for {
    		off := auxIntToInt32(v.AuxInt)
    		n := auxToSym(v.Aux)
    		if !(is64BitInt(v.Type) && !config.BigEndian && v.Type.IsSigned() && !(b.Func.pass.name == "decompose builtin")) {
    			break
    		}
    		v.reset(OpInt64Make)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 65.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/print_flags.go

    // otherwise it will return false
    func IsNoCompatiblePrinterError(err error) bool {
    	if err == nil {
    		return false
    	}
    
    	_, ok := err.(NoCompatiblePrinterError)
    	return ok
    }
    
    // PrintFlags composes common printer flag structs
    // used across all commands, and provides a method
    // of retrieving a known printer based on flag values provided.
    type PrintFlags struct {
    	JSONYamlPrintFlags   *JSONYamlPrintFlags
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 04 00:16:47 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  7. tensorflow/c/eager/parallel_device/parallel_device_testlib.h

        TFE_Context* context, const char* device_name,
        const std::array<const char*, num_devices>& underlying_devices,
        TF_Status* status);
    
    // Create and modify a variable placed on a parallel device which composes
    // `first_device` and `second_device`.
    void BasicTestsForTwoDevices(TFE_Context* context, const char* first_device,
                                 const char* second_device);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 09 01:12:35 UTC 2021
    - 6.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops_pass.cc

        "Resource ops decomposition did not converge";
    
    // Decomposing resource ops should not take more than a few iterations (2-3) to
    // converge as only a few patterns create new resource ops that can be further
    // decomposed. The rest of the iterations are enough to clean up any dead ops
    // created by decomposition.
    constexpr int kMaxIterations = 20;
    
    // Populates `reachable_functions` with all functions that can be reached from
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Sep 08 20:01:13 UTC 2023
    - 8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops.cc

    }
    
    static Type GetResourceSubtype(Value resource) {
      return resource.getType()
          .cast<TensorType>()
          .getElementType()
          .cast<ResourceType>()
          .getSubtypes()
          .front();
    }
    
    // Decompose tf.RngReadAndSkip.
    //
    // For Philox, the resource variable holds a tensor<3xi64> with the state:
    //   [counter_lo, counter_hi, key]
    //
    //   RngReadAndSkip increments the 128 bit counter value by 256 * delta and
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfr/BUILD

            "@llvm-project//mlir:IR",
            "@llvm-project//mlir:Support",
        ],
    )
    
    cc_library(
        name = "passes",
        srcs = [
            "passes/canonicalize.cc",
            "passes/decompose.cc",
            "passes/generated_decompose.inc",
            "passes/raise_to_tf.cc",
            "passes/rewrite_quantized_io.cc",
        ],
        hdrs = [
            "passes/passes.h",
        ],
        deps = [
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 27 18:00:18 UTC 2024
    - 14K bytes
    - Viewed (0)
Back to top