Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 521 for Operands (0.3 sec)

  1. tensorflow/compiler/mlir/lite/tests/split-merged-operands.mlir

    // RUN: tf-opt -tfl-split-merged-operands %s | FileCheck %s
    
    func.func @testSingleLstm(%arg0: tensor<4x4xf32>, %arg1: tensor<4xf32>, %arg2: tensor<4x4x4xf32>) -> tensor<4x4x4xf32> {
      // CHECK-LABEL: testSingleLstm
      // CHECK-DAG:  %[[CST_0:.*]] = "tfl.pseudo_const"() <{value = dense<0.000000e+00> : tensor<4x4xf32>}> : () -> tensor<4x4xf32>
      // CHECK-DAG:  %[[CST_1:.*]] = "tfl.pseudo_const"() <{value = dense<0.000000e+00> : tensor<4x4xf32>}> : () -> tensor<4x4xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/pseudo_test.go

    	}
    	return res
    }
    
    func TestErroneous(t *testing.T) {
    
    	type errtest struct {
    		pseudo   string
    		operands string
    		expected string
    	}
    
    	nonRuntimeTests := []errtest{
    		{"TEXT", "", "expect two or three operands for TEXT"},
    		{"TEXT", "%", "expect two or three operands for TEXT"},
    		{"TEXT", "1, 1", "TEXT symbol \"<erroneous symbol>\" must be a symbol(SB)"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_traits.h

        if (!result_ty) {
          return emitOptionalError(location, "Expected shape type for operand 0");
        }
        for (auto [index, ty] :
             llvm::drop_begin(llvm::enumerate(operands.getTypes()), 1)) {
          auto shape_type = llvm::dyn_cast_or_null<ShapedType>(ty);
          if (!shape_type) {
            return emitOptionalError(location, "Expected shape type for operand ",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/factories/LoggingExcludeFactory.java

        private static Collection<?> toList(Object[] operands) {
            return singleCollection(operands) ? (Collection<?>) operands[0] : Arrays.asList(operands);
        }
    
        private static boolean singleCollection(Object[] operands) {
            return operands.length== 1 && operands[0] instanceof Collection;
        }
    
        private enum Subject {
            all(true, true),
            stackoverflow(false, true),
            operations(true, false);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/parse.go

    	}
    	word, cond = p.lex.Text(), ""
    	operands = scratch[:0]
    	// Zero or more comma-separated operands, one per loop.
    	nesting := 0
    	colon := -1
    	for tok != '\n' && tok != ';' {
    		// Process one operand.
    		var items []lex.Token
    		if cap(operands) > len(operands) {
    			// Reuse scratch items slice.
    			items = operands[:cap(operands)][len(operands)][:0]
    		} else {
    			items = make([]lex.Token, 0, 3)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 14:34:57 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/ir/tfl_op_interfaces.td

    // TFL op interface for stateful operands.
    
    def TFL_StatefulOp : OpInterface<"StatefulOpInterface"> {
      let description = [{
        Interface for ops that are stateful and need to identify stateful operands.
    
        Stateful operands correspond to TF's variables semantics. An op that has 1
        or more stateful operands is a stateful op.
      }];
    
      let methods = [
        InterfaceMethod<
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/factories/ExcludeJsonLogToCode.groovy

            switch (opType) {
                case "any of":
                    def operands = []
                    collectOperands(value, operands)
                    return "anyOf(${operands.join(', ')})"
                case "all of":
                    def operands = []
                    collectOperands(value, operands)
                    return "allOf(${operands.join(', ')})"
                case "exclude group":
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

      BidirectionalSequenceLSTMOp op = *this;
      auto operands = op.GetStatefulOperands();
      if (operands.size() == 4 && operands[0] == 35 && operands[1] == 36 &&
          operands[2] == 37 && operands[3] == 38) {
        return success();
      }
      return op.emitError(
          "BidirectionalSequenceLSTMOp expected to have four stateful operands");
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc

        new_types.back() = rewriter.getType<tf_executor::ControlType>();
    
        // Control operand is attached on tf_executor::IslandOp.
        llvm::SmallVector<Value> island_control_operands;
        llvm::SmallVector<Value> inner_op_operands;
    
        for (Value value : operands) {
          // Because of the property of graph region, the control operands may
          // not have been converted to tf_executor::ControlType.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc

        for (Value operand : fetch_op.getFetches()) {
          // Control results should not be propagated out.
          if (mlir::isa<ControlType>(operand.getType())) break;
    
          if (operand.getDefiningOp() != island_op) {
            // Operand is not from island, simply propagate it out.
            new_rets.push_back(operand);
          } else {
            // Lookup yield operand in island for inner op result.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 42.7K bytes
    - Viewed (0)
Back to top