Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Decomposes (0.42 sec)

  1. tensorflow/compiler/mlir/tfr/python/tfr_gen.py

            if optional:
              return (None, None)
            else:
              raise KeyError('OpDef does not exist: ' + f_name)
          elif len(compose_dec) > 1:
            raise KeyError('More than one TF ops decomposes for.')
          else:
            op_name = compose_dec[0].args[0].value
    
        op_def = op_def_registry.get(op_name)
        if not op_def:
          raise ValueError('Not a registered op: ' + op_name)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 27 15:27:03 UTC 2022
    - 55.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

              concat_dim);
          result = concat_op.getResult();
        }
    
        rewriter.replaceOp(op, result);
        return success();
      }
    };
    
    // Decomposes Softmax and LogSoftmax to primitive TF ops, using the following
    // formulas:
    //
    //     softmax = div(exp(logits), sum(exp(logits)))
    //     log_softmax = sub(logits, log(sum(exp(logits))))
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  3. src/runtime/mgc.go

    // non-generational and non-compacting. Allocation is done using size segregated per P allocation
    // areas to minimize fragmentation while eliminating locks in the common case.
    //
    // The algorithm decomposes into several steps.
    // This is a high level description of the algorithm being used. For an overview of GC a good
    // place to start is Richard Jones' gchandbook.org.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/decompose_resource_ops.mlir

    // RUN: tf-opt %s -tf-device-decompose-resource-ops | FileCheck -check-prefixes=CHECK,ALWAYS-DECOMPOSE %s
    // RUN: tf-opt %s -tf-device-decompose-resource-ops-in-cluster | FileCheck -check-prefixes=CHECK,CLUSTER-ONLY %s
    
    // Tests different behavior of two passes if the op is outside cluster
    // tf-device-decompose-resource-ops would always decompose the resource op.
    // tf-device-decompose-resource-ops-in-cluster would not decompose ops outside
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/g3doc/_includes/tf_passes.md

    ```
    ### `-tf-data-optimization`
    
    _Performs tf.data optimizations_
    
    ### `-tf-decompose-reduce-dataset`
    
    _Decomposes ReduceDataset op into dataset operations._
    
      Decomposes ReduceDataset op into a while loop that iterates the dataset and calls
      into the reduction function.  This decomposition is only done if the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 02 02:26:39 UTC 2023
    - 96.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. tensorflow/compiler/mlir/tf2xla/internal/passes/extract_outside_compilation.cc

        for (auto v : return_op.getOperands()) {
          if (absl::c_count(return_value_from_host, v) == 0) {
            return_value_from_device.push_back(v);
          }
        }
      }
    }
    
    // Decompose control flow in `device_cluster` into device computation and host
    // (outside compiled) computation into two separate control flow ops with
    // communication between the device/host for data dependencies.  Both device and
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 68.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go

    				if c := q.Cmp(got); c != 0 {
    					t.Errorf("%v: round trip from decimal back to quantity is not comparable: %d: %#v vs %#v", item.input, c, got, q)
    				}
    			}
    
    			// verify that we can decompose the input and get the same result by building up from the base.
    			positive, _, num, denom, suffix, err := parseQuantityString(item.input)
    			if err != nil {
    				t.Errorf("%v: unexpected error: %v", item.input, err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 49.4K bytes
    - Viewed (0)
Back to top