Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 384 for partitioned (0.12 sec)

  1. src/slices/zsortordered.go

    	const maxInsertion = 12
    
    	var (
    		wasBalanced    = true // whether the last partitioning was reasonably balanced
    		wasPartitioned = true // whether the slice was already partitioned
    	)
    
    	for {
    		length := b - a
    
    		if length <= maxInsertion {
    			insertionSortOrdered(data, a, b)
    			return
    		}
    
    		// Fall back to heapsort if too many bad choices were made.
    		if limit == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 23:33:29 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/saved_model/core/ops/restore_ops.cc

      ImmediateTensorHandlePtr names_handle;
      TF_RETURN_IF_ERROR(
          CreateStringVectorTensorHandle(ctx, checkpoint_key, &names_handle));
    
      // Note that empty string is the slice spec used for a non-partitioned
      // ResourceVariable:
      // https://github.com/tensorflow/tensorflow/blob/06ff30f7ea35098cb68a231a9eb7ff3ff4be4e1e/tensorflow/python/training/saving/saveable_object_util.py#L194
      ImmediateTensorHandlePtr shapes_and_slices_handle;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 11 01:20:50 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/xla_rewrite.cc

    limitations under the License.
    ==============================================================================*/
    
    // This transformation pass converts stateful and stateless partitioned calls
    // with _xla_compile_device_type attribute to XLA launch ops.
    
    #include <stack>
    
    #include "mlir/Support/LLVM.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_device.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/experimental/tac/transforms/raise_target_subgraphs.cc

      added_func_op.setName(builder.getStringAttr(function_name));
      added_call_op.setCallee(builder.getStringAttr(function_name));
    }
    
    // Raises partitioned sequential `Operations` from a block to a new function
    // definition. `Operations` are partitioned into classes from the cartesian
    // product of possible devices and inference datatypes. For example, we might
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  5. src/sort/gen_sort_variants.go

    			pdqsort{{.FuncSuffix}}(data, mid+1, b, limit {{.ExtraArg}})
    			b = mid
    		}
    	}
    }
    
    // partition{{.FuncSuffix}} does one quicksort partition.
    // Let p = data[pivot]
    // Moves elements in data[a:b] around, so that data[i]<p and data[j]>=p for i<newpivot and j>newpivot.
    // On return, data[newpivot] = p
    func partition{{.FuncSuffix}}{{.TypeParam}}(data {{.DataType}}, a, b, pivot int {{.ExtraParam}}) (newpivot int, alreadyPartitioned bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/tpu_partitioned_op_conversion.mlir

    // RUN: tf-opt %s -split-input-file -verify-diagnostics -tf-tpu-partitioned-op-conversion | FileCheck %s
    
    // CHECK-LABEL:func @replicated
    // CHECK-SAME: ([[ARG0:%.*]]: tensor<!tf_type.resource<tensor<10x3xf32>>>, [[ARG1:%.*]]: tensor<!tf_type.resource<tensor<10x3xf32>>>, [[ARG2:%.*]]: tensor<!tf_type.resource<tensor<10x3xf32>>>, [[ARG3:%.*]]: tensor<!tf_type.resource<tensor<10x3xf32>>>)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 20 17:43:51 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/host_runtime/tfrt_ops.td

        Arg<TF_StrTensor, [{shape {N}.  The slice specs of the tensors to be restored.
    Empty strings indicate that they are non-partitioned tensors.}]>:$shape_and_slices,
        // VarHandles for restored tensors.
        Variadic<TF_Tensor>:$var_handles,
        // Data types for restored tensor.
        TypeArrayAttr: $restored_dtypes,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/experimental/common/outline_operations.cc

      // Operation along with its respective operands and result Values(s).
      // The semantic of `Operation::clone` is copying given entity *into* this
      // entity. The new FuncOp body is populated by cloning partitioned ops into
      // it. Cloning Operation(s) will create cloned Value(s) for the results of a
      // cloned op, but it needs a reference to the new operand Value(s) which are
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/transforms/xla_legalize_tf.cc

      // Add TF->TF lowering patterns.
      TF::PopulateTFLoweringBeforeHLOPatterns(context, &legalize_lower_patterns);
    
      if (tf2xla_fallback_device_type && prefer_tf2xla) {
        VLOG(1) << "TF to XLA legalization patterns are partitioned by op into "
                   "either native MLIR legalization, or TF2XLA fallback "
                   "legalzation, with a preference toward TF2XLA.";
      } else if (tf2xla_fallback_device_type) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/stack_ops_decomposition.cc

          FunctionType::get(func.getContext(), new_input_types,
                            func.front().getTerminator()->getOperandTypes()));
    }
    
    // Contains cached information for decomposed callee functions for (stateful)
    // partitioned call ops.
    struct PartitionedCallStackOpsInfo {
      bool signature_change;
      func::FuncOp decomposed_callee;
      llvm::SmallDenseMap<int64_t, int64_t> stack_var_arg_to_size_arg;
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 23.8K bytes
    - Viewed (0)
Back to top