Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 378 for placeholders (0.23 sec)

  1. tensorflow/cc/gradients/data_flow_grad_test.cc

      TensorShape d1_shape({2});
      TensorShape d2_shape({2, 2});
      std::vector<Output> indices = {Const(scope_, 2), Const(scope_, {1, 0})};
      std::vector<Output> data = {
          Placeholder(scope_, DT_FLOAT, Placeholder::Shape(d1_shape)),
          Placeholder(scope_, DT_FLOAT, Placeholder::Shape(d2_shape))};
      auto y = DynamicStitch(scope_, indices, data);
      TensorShape y_shape({3, 2});
      RunTest(data, {d1_shape, d2_shape}, {y}, {y_shape});
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 02 18:49:13 UTC 2018
    - 2.6K bytes
    - Viewed (0)
  2. refactorings/TraverserRewrite.java

    import com.google.errorprone.refaster.annotation.Placeholder;
    
    /**
     * Refaster rules to rewrite usages of {@code com.google.common.collect.TreeTraverser} in terms of
     * {@code com.google.common.graph.Traverser}.
     */
    @SuppressWarnings("DefaultPackage")
    public class TraverserRewrite {
      abstract class TreeTraverserPreOrder<N> {
        @Placeholder
        abstract Iterable<N> getChildren(N node);
    
        @BeforeTemplate
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 20 18:51:33 UTC 2020
    - 3K bytes
    - Viewed (0)
  3. samples/ambient-argo/meta-application.yaml

    spec:
      destination:
        name: in-cluster
        namespace: argocd
        server: ''
      sources:
      - path: istio
        repoURL: '{repo-placeholder}'
        targetRevision: HEAD
      - path: application
        repoURL: '{repo-placeholder}'
        targetRevision: HEAD
        directory:
          include: application.yaml
      project: default
      syncPolicy:
        automated:
          prune: true
          selfHeal: true
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Nov 04 01:54:50 UTC 2023
    - 630 bytes
    - Viewed (0)
  4. tensorflow/cc/gradients/manip_grad_test.cc

        EXPECT_LT(max_error, 1e-4);
      }
    
      Scope scope_;
    };
    
    TEST_F(ManipGradTest, RollGrad) {
      TensorShape shape({5, 4, 3});
      auto x = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(shape));
      auto y = Roll(scope_, x, {2, 1}, {0, 1});
      RunTest(x, shape, y, shape);
    }
    
    }  // namespace
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 19 12:19:42 UTC 2020
    - 1.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/output-shapes-attr.pbtxt

    node {
      name: "input0"
      op: "Placeholder"
      attr {
        key: "dtype"
        value {
          type: DT_INT32
        }
      }
    }
    versions {
      producer: 29
      min_consumer: 12
    }
    
    # Verify that functions from the library are properly imported.
    
    # CHECK-LABEL:  func @main() {
    # CHECK:    "tf.Placeholder"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 24 00:20:25 UTC 2020
    - 426 bytes
    - Viewed (0)
  6. tensorflow/cc/gradients/README.md

        example:
    
        ```
        TEST_F(ArrayGradTest, IdentityGrad) {
          TensorShape shape({5, 2});
          auto x = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(shape));
          auto y = Identity(scope_, x);
          RunTest(x, shape, y, shape);
        }
        ```
    
    NOTE: There are some ops that require features from the C++ API that are not yet
    implemented.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Nov 29 19:12:55 UTC 2021
    - 2K bytes
    - Viewed (0)
  7. tensorflow/cc/client/client_session_test.cc

    TEST(ClientSessionTest, CallableWithCustomThreadPool) {
      Scope root = Scope::NewRootScope();
      int num_threads = 3;
    
      TensorShape data_shape({1, 1});
      auto a = Placeholder(root, DT_INT32, Placeholder::Shape(data_shape));
      auto b = Placeholder(root, DT_INT32, Placeholder::Shape(data_shape));
      auto c = BatchMatMul(root, a, b);
      ClientSession session(root);
      std::vector<Tensor> outputs;
    
      auto inter_op_threadpool =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/compilability_check_util_test.cc

      TF_ASSERT_OK(root.graph()->AddFunctionLibrary(flib));
      auto predicate = ops::Placeholder(root.WithOpName("pred"), DT_BOOL);
      auto placeholder = ops::Placeholder(root.WithOpName("A"), DT_INT32);
      std::vector<NodeBuilder::NodeOut> if_inputs(
          {NodeBuilder::NodeOut(placeholder.node())});
      Node* if_node;
      TF_ASSERT_OK(
          NodeBuilder(kFunctionalIfNodeName, "If", &root.graph()->flib_def())
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 10 12:32:39 UTC 2022
    - 22.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/error-message-with-source-info.pbtxt

    # CHECK: build_graph(out_dir)
    node: {
      name: "x"
      op: "Placeholder"
      attr: {
        key: "shape"
        value: {
          shape: {
            dim: {
              size: -1
            }
          }
        }
      }
      attr: {
        key: "dtype"
        value: {
          type: DT_INT32
        }
      }
    }
    node: {
      name: "y"
      op: "Placeholder"
      attr: {
        key: "shape"
        value: {
          shape: {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 10 19:00:09 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/type_attr.mlir

    // CHECK: "extra_type_attr"
    // CHECK-NEXT:    value
    // CHECK-NEXT:      list
    // CHECK-NEXT:        type: DT_INT32
    // CHECK-NEXT:        type: DT_FLOAT
    
    // CHECK-LABEL: function
    // CHECK: name: "plain"
    // CHECK: Placeholder
    // CHECK: key: "type"
    // CHECK: type: DT_INT8
    
    func.func @main(%arg0 : tensor<16xf32>) {
      tf_executor.graph {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 1.1K bytes
    - Viewed (0)
Back to top