Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 97 for attr_value (0.16 sec)

  1. tensorflow/cc/saved_model/reader.cc

    #include "absl/status/statusor.h"
    #include "tensorflow/cc/saved_model/constants.h"
    #include "tensorflow/cc/saved_model/metrics.h"
    #include "tensorflow/cc/saved_model/util.h"
    #include "tensorflow/core/framework/attr_value.pb.h"
    #include "tensorflow/core/framework/function.pb.h"
    #include "tensorflow/core/framework/graph.pb.h"
    #include "tensorflow/core/framework/node_def.pb.h"
    #include "tensorflow/core/framework/tensor.pb.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 00:19:29 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_saver_op.cc

    #include "tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_collector_min_max.h"
    #include "tensorflow/core/framework/attr_value.pb.h"
    #include "tensorflow/core/framework/op.h"
    #include "tensorflow/core/framework/op_kernel.h"
    #include "tensorflow/core/framework/op_requires.h"
    #include "tensorflow/core/framework/tensor.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 13 01:31:23 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/device_compilation_profiler_test.cc

    #include <vector>
    
    #include <gmock/gmock.h>
    #include <gtest/gtest.h>
    #include "tensorflow/compiler/jit/tests/device_compiler_test_helper.h"
    #include "tensorflow/compiler/jit/xla_activity.pb.h"
    #include "tensorflow/core/framework/attr_value.pb.h"
    
    namespace tensorflow {
    namespace {
    
    TEST(DeviceCompilationProfilerTest, RegisterExecution) {
      DeviceCompilationProfiler* profiler = new DeviceCompilationProfiler();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Dec 22 21:06:33 UTC 2022
    - 8.7K bytes
    - Viewed (0)
  4. tensorflow/c/c_test_util.cc

      return ret;
    }
    
    bool GetAttrValue(TF_Operation* oper, const char* attr_name,
                      tensorflow::AttrValue* attr_value, TF_Status* s) {
      TF_Buffer* buffer = TF_NewBuffer();
      TF_OperationGetAttrValueProto(oper, attr_name, buffer, s);
      bool ret = TF_GetCode(s) == TF_OK;
      if (ret) ret = attr_value->ParseFromArray(buffer->data, buffer->length);
      TF_DeleteBuffer(buffer);
      return ret;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Oct 15 03:16:52 UTC 2021
    - 17.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/device_compilation_profiler.cc

    #include <string>
    #include <utility>
    
    #include "absl/strings/str_cat.h"
    #include "tensorflow/compiler/jit/xla_activity.pb.h"
    #include "tensorflow/compiler/jit/xla_activity_listener.h"
    #include "tensorflow/core/framework/attr_value.pb.h"
    #include "tensorflow/core/framework/metrics.h"
    #include "tensorflow/core/platform/errors.h"
    #include "tensorflow/core/platform/status.h"
    #include "tsl/platform/mutex.h"
    
    namespace tensorflow {
    namespace {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_test.cc

      EXPECT_EQ(0, TF_OperationNumControlOutputs(add));
    
      ASSERT_TRUE(GetAttrValue(add, "T", &attr_value, s)) << TF_Message(s);
      EXPECT_EQ(attr_value.type(), tensorflow::DT_INT32);
      ASSERT_TRUE(GetAttrValue(add, "N", &attr_value, s)) << TF_Message(s);
      EXPECT_EQ(attr_value.i(), 2);
    
      // Placeholder oper now has a consumer.
      ASSERT_EQ(1, TF_OperationOutputNumConsumers(TF_Output{feed, 0}));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

    using ::tsl::StatusOr;
    
    namespace {
    
    bool IsOutputShapesAttribute(const AttrValue& attr_value,
                                 llvm::StringRef attr_name) {
      return attr_name.compare(kOutputShapesAttrName) == 0 &&
             attr_value.value_case() == AttrValue::kList;
    }
    
    bool IsResourceOutputShapesAttribute(const AttrValue& attr_value,
                                         llvm::StringRef attr_name) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  8. tensorflow/c/ops_test.cc

    ==============================================================================*/
    
    #include "tensorflow/c/ops.h"
    
    #include "absl/strings/str_cat.h"
    #include "tensorflow/c/c_api.h"
    #include "tensorflow/core/framework/attr_value.pb.h"
    #include "tensorflow/core/framework/fake_input.h"
    #include "tensorflow/core/framework/op_def.pb.h"
    #include "tensorflow/core/framework/op_def_builder.h"
    #include "tensorflow/core/framework/shape_inference_testutil.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 11 01:20:50 UTC 2021
    - 12.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfr/passes/raise_to_tf.cc

          auto attr_name = signature.getArgAttrOfType<StringAttr>(
              operand.index(), kAttrArgumentNameAttr);
          auto attr_value =
              signature.getArgAttr(operand.index(), kAttrArgumentDefaultAttr);
          arg_attrs->push_back(
              rewriter.getNamedAttr(attr_name.getValue(), attr_value));
          continue;
        }
    
        // The index is valid for the call_op.
        Value input = call_op.getOperand(operand.index());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/python/pywrap_quantize_model.cc

    #include "tensorflow/compiler/mlir/quantization/tensorflow/python/type_casters.h"  // IWYU pragma: keep
    #include "tensorflow/compiler/mlir/quantization/tensorflow/quantization_options.pb.h"
    #include "tensorflow/core/framework/attr_value.pb.h"
    #include "tensorflow/core/protobuf/meta_graph.pb.h"
    
    namespace py = pybind11;
    
    namespace {
    
    using ::tensorflow::SignatureDef;
    using ::tensorflow::quantization::ExportedModel;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 09 06:33:29 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top