Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for Unary (0.04 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_traits.h

        return argumentOp->getOperand(0);
      }
    
      return {};
    }
    
    }  // namespace detail
    
    // This class adds property that the operation is idempotent.
    // This means a unary to unary operation "f" that satisfies f(f(x)) = f(x),
    // or a binary operation "g" that satisfies g(x, x) = x.
    template <typename ConcreteType>
    class IsIdempotent : public TraitBase<ConcreteType, IsIdempotent> {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. internal/s3select/sql/parser.go

    type In struct {
    	JPathExpr *JSONPath `parser:"@@"`
    	ListExpr  *ListExpr `parser:"| @@"`
    }
    
    // Grammar for Operand:
    //
    // operand → multOp ( ("-" | "+") multOp )*
    // multOp  → unary ( ("/" | "*" | "%") unary )*
    // unary   → "-" unary | primary
    // primary → Value | Variable | "(" expression ")"
    //
    
    // An Operand is a single term followed by an optional sequence of
    // terms separated by +/-
    type Operand struct {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  3. tensorflow/cc/gradients/linalg_grad.cc

      return std::make_tuple(reduced_subs, reduced_dims,
                             Const(scope, reduced_axes_tensor));
    }
    
    // Returns the gradient wrt input for a unary einsum with reductions.
    //
    //  scope: Scope for grad operations.
    //  output_grad: The gradient wrt the output of a unary einsum operation.
    //  output_subs: The output subscript. (E.g. `ac` for equation `abc->ac`).
    //  input_subs: The input subscript. (E.g. `abc` for equation `abc->ac`).
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 07 23:11:54 UTC 2022
    - 20.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/GroovyInteroperabilityTest.kt

            )
        }
    
        @Test
        fun `can adapt unary function using KotlinClosure1`() {
    
            fun closure(function: String.() -> String) = KotlinClosure1(function)
    
            assertEquals(
                "GROOVY",
                closure { uppercase(Locale.US) }.call("groovy")
            )
        }
    
        @Test
        fun `can adapt unary null receiving function using KotlinClosure1`() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/einsum.cc

      if (op->getNumOperands() != 1) {
        return rewriter.notifyMatchFailure(
            op, "Function only supports unary einsum op");
      }
      RankedTensorType lhs =
          mlir::dyn_cast_or_null<RankedTensorType>(op.getOperand(0).getType());
      if (!lhs) {
        return failure();
      }
      // unary einsum op is only supported to the case where the operation can be
      // replaced using reduce_sum and/or transpose
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  6. cluster/images/etcd-version-monitor/etcd-version-monitor.go

    						renameLabels(mf, map[string]string{
    							"grpc_method":  "method",
    							"grpc_service": "service",
    						})
    						filterMetricsByLabels(mf, map[string]string{
    							"grpc_type": "unary",
    						})
    						groupCounterMetricsByLabels(mf, map[string]bool{
    							"grpc_type": true,
    							"grpc_code": true,
    						})
    						return mf, nil
    					},
    				},
    			},
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Dec 16 06:50:02 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt

                // - Labels themselves: `@label` in return`@label` or `label@`while...
                is KtLabelReferenceExpression ->
                    false
    
                // - The operation symbol itself in binary and unary operations: `!!`, `+`...
                is KtOperationReferenceExpression ->
                    false
    
                // All other expressions are used if their parent expression uses them.
                else ->
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/testdata/mips64.s

    //	{
    //		outcode(int($1), &$2, 0, &$4);
    //	}
    	MOVW	M1, R1 // 40010800
    	MOVV	M1, R1 // 40210800
    
    
    //
    // integer operations
    // logical instructions
    // shift instructions
    // unary instructions
    //
    //	LADDW rreg ',' sreg ',' rreg
    //	{
    //		outcode(int($1), &$2, int($4), &$6);
    //	}
    	ADD	R5, R9, R10	// 01255020
    	ADDU	R13, R14, R19	// 01cd9821
    	ADDV	R5, R9, R10	// 0125502c
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 08 12:17:12 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/riscv/cpu.go

    	RM_RMM              // Round to Nearest, ties to Max Magnitude
    )
    
    // All unary instructions which write to their arguments (as opposed to reading
    // from them) go here. The assembly parser uses this information to populate
    // its AST in a semantically reasonable way.
    //
    // Any instructions not listed here are assumed to either be non-unary or to read
    // from its argument.
    var unaryDst = map[obj.As]bool{
    	ARDCYCLE:    true,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 14:19:33 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  10. src/go/constant/value_test.go

    func TestNumbers(t *testing.T) {
    	testNumbers(t, token.INT, intTests)
    	testNumbers(t, token.FLOAT, floatTests)
    	testNumbers(t, token.IMAG, imagTests)
    }
    
    var opTests = []string{
    	// unary operations
    	`+ 0 = 0`,
    	`+ ? = ?`,
    	`- 1 = -1`,
    	`- ? = ?`,
    	`^ 0 = -1`,
    	`^ ? = ?`,
    
    	`! true = false`,
    	`! false = true`,
    	`! ? = ?`,
    
    	// etc.
    
    	// binary operations
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 15.6K bytes
    - Viewed (0)
Back to top