Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 56 for tensorlist (0.17 sec)

  1. tensorflow/compiler/jit/xla_launch_util.cc

      }
    
      for (const XlaOutputDescription& descr : compilation_result->outputs) {
        if (descr.type == DT_VARIANT) {
          return errors::Unimplemented(
              "Support for TensorList crossing the XLA/TF boundary "
              "is not implemented");
        }
      }
    
      std::vector<TensorShape> output_tensor_shapes;
      output_tensor_shapes.reserve(ctx->num_outputs());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 00:36:08 UTC 2024
    - 40.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/internal/passes/mark_ops_for_outside_compilation.cc

          mlir::TF::RecvTPUEmbeddingActivationsOp::getOperationName(), context));
      supported_ops->insert(OperationName(
          mlir::TF::SendTPUEmbeddingGradientsOp::getOperationName(), context));
    }
    
    // Stack, TensorList and TensorArray ops are rewritten during the second phase
    // of the bridge (compilation of TPUCompile op). They would not match any
    // legalization/canonicalization pattern and have to be manually added to the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/passes.h

    // Materialize the MlirPassthroughOp by replacing it with the MLIR module
    // attached as an attribute.
    std::unique_ptr<OperationPass<func::FuncOp>>
    CreateMaterializePassthroughOpPass();
    
    // Replicates the TensorList init op by undoing some CSE needed for correct
    // shape assignment in shape_inference.
    std::unique_ptr<OperationPass<func::FuncOp>>
    CreateReplicateTensorListInitOpsPass();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  4. tensorflow/c/kernels_test.cc

      *tensor_proto = TensorProtoHelpers::GenerateTensorProto();
    
      CreateAndCallKernelWithAttr(my_create_func, "TestKernelAttrTensor", v);
    }
    
    TEST_F(TestKernelAttr, TensorList) {
      struct TensorProtoHelpers {
       public:
        static ::tensorflow::TensorProto GenerateTensorProto1() {
          ::tensorflow::TensorProto tensor_proto;
          tensor_proto.mutable_tensor_shape()->add_dim()->set_size(2);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 50.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td

          "return getElementTypeOrSelf(element_type());">;
    
      let extraClassDeclaration = [{
        // Returns type of the TensorList element produced by this op.
        TensorType element_type() { return handle_dtype().getSubtypes()[0]; }
    
        // Returns data type of the result handle. Returned type contains type of
        // the TensorList element as a subtype.
        VariantType handle_dtype() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 04:08:35 UTC 2024
    - 90.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

      LogicalResult matchAndRewrite(Operation *op,
                                    PatternRewriter &rewriter) const override {
        auto addn_op = cast<AddNOp>(op);
    
        // TODO(hinsu): Support variant with TensorList type. tf.AddV2 doesn't
        // support variant type so variant types require special handling.
        if (mlir::isa<VariantType>(getElementTypeOrSelf(addn_op.getType())))
          return failure();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

      }];
    
      let arguments = (ins
        Arg<Variadic<TF_Float32Tensor>, [{A TensorList of gradients with which to update embedding tables.}]>:$gradients,
        Arg<Variadic<TF_Float32Tensor>, [{A TensorList of learning rates used for updating the embedding
    tables via the optimizer. The length of the TensorList must be equal to the
    number of dynamic learning rate tags specified in the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
  8. tensorflow/c/c_api_test.cc

                                  TF_TString_GetSize(t_out_tstr)));
      TF_DeleteTensor(t_out);
      TF_TString_Dealloc(&tstr[0]);
    }
    
    TEST_F(CApiAttributesTest, TensorList) {
      const char tensor1[] = {5, 7};
      const int64_t dims1[] = {1, 2};
      const size_t ndims1 = TF_ARRAYSIZE(dims1);
    
      const char tensor2[] = {2, 4, 6, 8};
      const int64_t dims2[] = {2, 2};
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfr/tests/ops.mlir

    }
    
    // -----
    
    // expected-error@+1 {{More than one tfr.tensor_list result isn't allowed}}
    tfr.func @Foo_multiple_tensor_list_results(%arg0: !tfr.tensor<C>,
                  %arg1: !tfr.tensor_list<A>,
                  %arg2: i32 {tfr.name = "A"},
                  %arg3: vector<1xi32> {tfr.name = "C"}) ->
        (!tfr.tensor_list<A>, !tfr.tensor_list<A>) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jan 14 22:15:06 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfr/python/tfr_gen_test.py

          CHECK:       }
    
          CHECK-LABEL: tfr.func @tf__test_identity_n_op(%x: !tfr.tensor_list) -> (!tfr.tensor_list) {
          CHECK-NEXT:   %[[raw_data:.*]] = tfr.quant_raw_data(%x) : (!tfr.tensor_list) -> (!tfr.tensor_list)
          CHECK:        tfr.return %[[raw_data:.*]] : !tfr.tensor_list
          CHECK:       }
        """
        self._check_code(mlir_code, mlir_code_exp)
    
    
    if __name__ == '__main__':
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 13 16:33:28 UTC 2021
    - 28.8K bytes
    - Viewed (0)
Back to top