Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for shape_and_slices (0.18 sec)

  1. tensorflow/c/experimental/ops/io_ops.cc

    //   restore specific slices of stored tensors, "shape_and_slices" should be
    //   non-empty strings and correspondingly well-formed.
    //
    //   Callers must ensure all the named tensors are indeed stored in the
    //   checkpoint.
    Status RestoreV2(AbstractContext* ctx, AbstractTensorHandle* const prefix,
                     AbstractTensorHandle* const tensor_names,
                     AbstractTensorHandle* const shape_and_slices,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 17 17:54:34 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/ops/io_ops.h

    // Restores tensors from a V2 checkpoint.
    Status RestoreV2(AbstractContext* ctx, AbstractTensorHandle* const prefix,
                     AbstractTensorHandle* const tensor_names,
                     AbstractTensorHandle* const shape_and_slices,
                     absl::Span<AbstractTensorHandle*> tensors,
                     absl::Span<DataType> dtypes, const char* name = nullptr,
                     const char* raw_device_name = nullptr);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 17 17:54:34 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/ops/gen/cpp/golden/testing_ops.cc.golden

    }
    
    // Op: RestoreV2()
    // Summary:
    //
    // Description:
    Status RestoreV2(AbstractContext* ctx, AbstractTensorHandle* const prefix, AbstractTensorHandle* const tensor_names, AbstractTensorHandle* const shape_and_slices, absl::Span<AbstractTensorHandle*> tensors, absl::Span<DataType> dtypes, const char* name, const char* raw_device_name) {
      AbstractOperationPtr op_ptr(ctx->CreateOperation());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 16 19:04:03 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/string-attr.pbtxt

    # RUN: tf-mlir-translate -graphdef-to-splatted-mlir %s -o - | FileCheck %s
    
    # CHECK: tf.Const
    # CHECK-SAME: value = dense<""> : tensor<3x!tf_type.string>
    
    node {
      name: "save/SaveV2/shape_and_slices"
      op: "Const"
      attr {
        key: "_output_shapes"
        value {
          list {
            shape {
              dim {
                size: 3
              }
            }
          }
        }
      }
      attr {
        key: "dtype"
        value {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 29 04:41:05 UTC 2021
    - 713 bytes
    - Viewed (0)
  5. tensorflow/cc/saved_model/testdata/half_plus_two_pbtxt/00000123/saved_model.pbtxt

              name: "prefix"
              type: DT_STRING
            }
            input_arg {
              name: "tensor_names"
              type: DT_STRING
            }
            input_arg {
              name: "shape_and_slices"
              type: DT_STRING
            }
            output_arg {
              name: "tensors"
              type_list_attr: "dtypes"
            }
            attr {
              name: "dtypes"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 26 01:10:27 UTC 2017
    - 46.9K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/ops/gen/cpp/golden/testing_ops.h.golden

    //
    Status RestoreV2(AbstractContext* ctx, AbstractTensorHandle* const prefix, AbstractTensorHandle* const tensor_names, AbstractTensorHandle* const shape_and_slices, absl::Span<AbstractTensorHandle*> tensors, absl::Span<DataType> dtypes, const char* name = nullptr, const char* raw_device_name = nullptr);
    
    }  // namespace ops
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 16 19:04:03 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_restore_op.cc

      const auto loc = NameLoc::get(builder.getStringAttr("tensor_names"));
      return Create1DStringConst(tensor_names, loc, builder);
    }
    
    // Creates a 1D string array constant for "shape_and_slices" input of
    // `RestoreV2` op. The `ConstOp` will be created at `builder`'s current
    // insertion point. It will be filled with `size` empty strings.
    TF::ConstOp CreateShapeAndSlicesConst(const int size, OpBuilder& builder) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Mar 12 06:02:20 UTC 2023
    - 9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_save_op.cc

      const auto loc = NameLoc::get(builder.getStringAttr("tensor_names"));
      return Create1DStringConst(tensor_names, loc, builder);
    }
    
    // Creates a 1D string array constant for "shape_and_slices" input of
    // `RestoreV2` op. The `ConstOp` will be created at `builder`'s current
    // insertion point. It will be filled with `size` empty strings.
    TF::ConstOp CreateShapeAndSlicesConst(const int size, OpBuilder& builder) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/ir/host_runtime/tfrt_ops.td

        Arg<TF_StrTensor, [{shape {N}.  The slice specs of the tensors to be restored.
    Empty strings indicate that they are non-partitioned tensors.}]>:$shape_and_slices,
        // VarHandles for restored tensors.
        Variadic<TF_Tensor>:$var_handles,
        // Data types for restored tensor.
        TypeArrayAttr: $restored_dtypes,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.td

        because the tensors are loaded asynchronously.
    
      }];
    
      let arguments = (ins
        TFTensorType:$prefix,
        TFTensorType:$tensor_names,
        TFTensorType:$shape_and_slices,
        Variadic<TFTensorType>:$var_handles,
        TypeArrayAttr: $restored_dtypes,
        DenseBoolArrayAttr: $truncate_in_cast
      );
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 13.6K bytes
    - Viewed (0)
Back to top