Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 378 for placeholders (0.26 sec)

  1. tensorflow/compiler/jit/partially_decluster_pass_test.cc

      Output shape_a = ops::Placeholder(s.WithOpName("shape_a"), DT_INT32,
                                        ops::Placeholder::Attrs{});
      Output shape_b = ops::Placeholder(s.WithOpName("shape_b"), DT_INT32,
                                        ops::Placeholder::Attrs{});
      Output shape = ops::Add(s.WithOpName("shape"), shape_a, shape_b);
    
      Output reshape_input = ops::Placeholder(s.WithOpName("reshape_input"),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 10 12:32:39 UTC 2022
    - 23K bytes
    - Viewed (0)
  2. tensorflow/compiler/aot/tests/make_test_graphs.py

    
    def tfassert_eq(_):
      x = array_ops.placeholder(dtypes.int32, name='x_hold')
      y = array_ops.placeholder(dtypes.int32, name='y_hold')
      control_flow_assert.Assert(
          math_ops.equal(x, y), ['Expected x == y.'], name='assert_eq')
      math_ops.add(x, math_ops.negative(y), name='x_y_diff')
    
    
    def tfcond(_):
      p = array_ops.placeholder(dtypes.bool, name='p_hold')
      x = array_ops.placeholder(dtypes.int32, name='x_hold')
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 15 15:25:23 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  3. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/DefaultTestFailureTest.groovy

            given:
            def placeholder = new PlaceholderException("com.acme.OriginalException", "custom message", null, null, null, null)
    
            when:
            def failure = TestFailure.fromTestFrameworkFailure(placeholder)
    
            then:
            with(failure) {
                causes.empty
                rawFailure == placeholder
                with(details) {
                    message == "custom message"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/clone_constants_for_better_clustering_test.cc

      Scope on_gpu = root.WithAssignedDevice(kGPU).WithDevice(kGPU);
      Scope on_cpu = root.WithAssignedDevice(kCPU).WithDevice(kCPU);
    
      Output in0 = ops::Placeholder(on_gpu.WithOpName("in0"), DT_FLOAT);
      Output in1 = ops::Placeholder(on_gpu.WithOpName("in1"), DT_FLOAT);
    
      Output perm = ops::Const(on_cpu.WithOpName("perm"), {3, 1, 2, 0});
    
      {
        Output tr0 = ops::Transpose(on_gpu.WithOpName("tr0"), in0, perm);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/PlaceholderExceptionTest.groovy

        def "toString() generally produces same output as original exception"() {
            def original = new Exception("original exception")
            def placeholder = new PlaceholderException(original.getClass().name, original.message, null, original.toString(), null, original.cause)
    
            expect:
            placeholder.toString() == original.toString()
        }
    
        def "toString() produces same output as original exception if the latter overrides toString()"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/arg-multi-data-type-with-subtype.pbtxt

    # otherwise, use the data type of the node in the graph.
    
    node {
      name: "p"
      op: "Placeholder"
      attr {
        key: "dtype"
        value {
          type: DT_INT32
        }
      }
      attr {
        key: "shape"
        value {
          shape {
            unknown_rank: true
          }
        }
      }
    }
    node {
      name: "x"
      op: "Placeholder"
      attr {
        key: "dtype"
        value {
          type: DT_VARIANT
        }
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 07 18:11:42 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/encapsulate_util.h

    // Attribute value will be a string, which is the outside compilation cluster
    // name for the outside compilation Placeholder node.
    extern const char kXlaOutsideCompilationInputsAttrName[];
    
    // Attribute indicating that this is a Placeholder node for an _Arg node used in
    // outside compilation. We should not move this node out of XLA computation.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. tensorflow/cc/gradients/resource_variable_grad_test.cc

      auto scope = Scope::NewRootScope();
      auto x = Placeholder(scope, DT_FLOAT, Placeholder::Shape(shape));
    
      auto var = VarHandleOp(scope, DT_FLOAT, shape);
      auto init = AssignVariableOp(scope, var, Const(scope, 2.0f, shape));
    
      auto temp = ReadVariableOp(scope, var, DT_FLOAT);
    
      auto y = Mul(scope, temp, x);
    
      auto dy = Placeholder(scope, DT_FLOAT, Placeholder::Shape(shape));
    
      OutputList dxs;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 14 15:30:48 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/encapsulate_xla_computations_pass_test.cc

      auto a = ops::Placeholder(scope.WithOpName("A"), DT_INT32);
      auto b = ops::Placeholder(scope.WithOpName("B"), DT_FLOAT);
      auto c = ops::Placeholder(scope.WithOpName("C"), DT_INT32);
      auto d = ops::Placeholder(scope.WithOpName("D"), DT_FLOAT);
      auto u = ops::Placeholder(scope.WithOpName("U"), DT_RESOURCE);
      auto v = ops::Placeholder(scope.WithOpName("V"), DT_RESOURCE);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 16 18:03:15 UTC 2023
    - 14.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tests/optimize_functional_ops.mlir

    // CHECK-LABEL: main
    func.func @main(%arg0: tensor<f32>, %arg1: tensor<f32>) -> (tensor<f32>) {
      // CHECK: %[[INPUT0:.*]] = "tf.Placeholder.input"
      %0 = "tf.Placeholder.input"(%arg0) : (tensor<f32>) -> tensor<f32>
      // CHECK: %[[INPUT1:.*]] = "tf.Placeholder.input"
      %1 = "tf.Placeholder.input"(%arg1) : (tensor<f32>) -> tensor<f32>
      %2 = arith.constant dense<true> : tensor<i1>
    
      // CHECK: "tf.Add"(%[[INPUT0]], %[[INPUT1]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 30 10:34:48 UTC 2022
    - 8.4K bytes
    - Viewed (0)
Back to top