Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for DT_STRING (0.48 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/parse_example.pbtxt

    # CHECK: tf_executor.fetch %[[output]] : tensor<*xi64>
    
    node {
      name: "serilaized"
      op: "Const"
      attr {
        key: "dtype"
        value {
          type: DT_STRING
        }
      }
      attr {
        key: "value"
        value {
          tensor {
            dtype: DT_STRING
            tensor_shape {
              dim {
                size: 1
              }
            }
            string_val: ""
          }
        }
      }
    }
    node {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 14 15:35:49 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/batch_use_same_function/saved_model.pbtxt

    meta_graphs: {
      meta_info_def: {
        tags: ["serve", "tpu"]
      }
      graph_def: {
        node: {
          name: "input0"
          op: "Placeholder"
          attr: {
            key: "dtype"
            value: {
              type: DT_STRING
            }
          }
        }
        node: {
          name: "input1"
          op: "Placeholder"
          attr: {
            key: "dtype"
            value: {
              type: DT_INT32
            }
          }
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 09 16:20:29 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/parse_example_v2.pbtxt

        key: "dtype"
        value {
          type: DT_STRING
        }
      }
      attr {
        key: "value"
        value {
          tensor {
            dtype: DT_STRING
            tensor_shape {
              dim {
              }
            }
          }
        }
      }
    }
    node {
      name: "ParseExample/ParseExampleV2/sparse_keys"
      op: "Const"
      attr {
        key: "dtype"
        value {
          type: DT_STRING
        }
      }
      attr {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 14 15:35:49 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  4. tensorflow/c/kernels/summary_op_test.cc

      } else {
        EXPECT_TRUE(absl::StrContains(ctx.status().ToString(), expected_output))
            << ctx.status();
      }
    }
    
    TEST(ScalarSummaryOpTest, SimpleFloat) {
      int vectorSize = 3;
      Tensor tags(DT_STRING, {vectorSize});
      Tensor values(DT_FLOAT, {vectorSize});
      tags.vec<tstring>()(0) = "tag1";
      tags.vec<tstring>()(1) = "tag2";
      tags.vec<tstring>()(2) = "tag3";
      values.vec<float>()(0) = 1.0f;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jul 18 15:10:51 UTC 2022
    - 6.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/output-shapes.pbtxt

            shape {
            }
          }
        }
      }
    }
    node {
      name: "Const1"
      op: "Const"
      attr {
        key: "dtype"
        value {
          type: DT_STRING
        }
      }
      attr {
        key: "value"
        value {
          tensor {
            dtype: DT_STRING
            tensor_shape {
            }
            string_val: ""
          }
        }
      }
      attr {
        key: "_output_shapes"
        value {
          list {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 21 04:07:13 UTC 2021
    - 3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/string-attr.pbtxt

            shape {
              dim {
                size: 3
              }
            }
          }
        }
      }
      attr {
        key: "dtype"
        value {
          type: DT_STRING
        }
      }
      attr {
        key: "value"
        value {
          tensor {
            dtype: DT_STRING
            tensor_shape {
              dim {
                size: 3
              }
            }
            string_val: ""
            string_val: ""
            string_val: ""
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 29 04:41:05 UTC 2021
    - 713 bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/parse_example_v2.mlir

    ["tfdtype$DT_FLOAT", "tfdtype$DT_FLOAT"], dense_shapes = [#tf_type.shape<>, #tf_type.shape<>], device = "", num_sparse = 2 : i64, ragged_split_types = [], ragged_value_types = [], resultSegmentSizes = array<i32: 2, 2, 2, 2, 0, 0>, sparse_types = ["tfdtype$DT_STRING", "tfdtype$DT_INT64"]} : (tensor<32x!tf_type.string>, tensor<0x!tf_type.string>, tensor<2x!tf_type.string>, tensor<2x!tf_type.string>, tensor<0x!tf_type.string>, tensor<0xf32>, tensor<0xf32>) -> (tensor<?x2xi64>, tensor<?x2xi64>, tensor<?x!tf_type.string>,...
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 14 15:35:49 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  8. tensorflow/c/kernels/summary_op_benchmark_test.cc

    namespace tensorflow {
    namespace {
    
    Graph* BM_ScalarSummaryOp(TensorShape shape, std::string tag, float value) {
      Graph* g = new Graph(OpRegistry::Global());
      Tensor tags(DT_STRING, shape);
      Tensor values(DT_FLOAT, shape);
      for (int i = 0; i < tags.NumElements(); ++i) {
        tags.flat<tstring>()(i) = tag;
        values.flat<float>()(i) = value;
      }
      Node* ret;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 25 00:59:20 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/utils/convert_type.cc

        case tflite::TensorType_UINT32:
          return tensorflow::DT_UINT32;
        case tflite::TensorType_INT64:
          return tensorflow::DT_INT64;
        case tflite::TensorType_STRING:
          return tensorflow::DT_STRING;
        case tflite::TensorType_UINT8:
          return tensorflow::DT_UINT8;
        case tflite::TensorType_UINT16:
          return tensorflow::DT_UINT16;
        case tflite::TensorType_UINT64:
          return tensorflow::DT_UINT64;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 23:04:40 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. tensorflow/cc/ops/const_op_test.cc

      ExpectNodeEqual<double>(c.node(), {42.0, 42.0, 42.0, 42.0}, {2, 2});
    
      auto d = ops::Const(root, {"1", "2", "3", "4", "5", "6"}, {2, 3});
      TF_CHECK_OK(root.status());
      EXPECT_EQ(d.op().output_type(0), DT_STRING);
      ExpectNodeEqual<tstring>(d.node(), {"1", "2", "3", "4", "5", "6"}, {2, 3});
    }
    
    TEST(ConstOpTest, FromProto) {
      Scope root = Scope::NewRootScope();
      TensorProto proto;
      proto.set_dtype(DT_DOUBLE);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 12 14:38:21 UTC 2019
    - 4.9K bytes
    - Viewed (0)
Back to top