Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 82 for attr_value (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. tensorflow/cc/tools/freeze_saved_model.cc

    #include "tensorflow/cc/tools/freeze_saved_model.h"
    
    #include <iostream>
    #include <queue>
    
    #include "absl/status/status.h"
    #include "absl/strings/str_cat.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/versions.pb.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 11 08:05:36 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/saved_model/core/tf_saved_model_api.cc

    #include "tensorflow/c/experimental/saved_model/core/signature_def_function.h"
    #include "tensorflow/cc/saved_model/bundle_v2.h"
    #include "tensorflow/cc/saved_model/constants.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_util.h"
    #include "tensorflow/core/framework/tensor.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 09:34:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/mark_for_compilation_pass.cc

                                  const char* attr_name) {
      bool out = false;
      bool attr_value;
      if (TryGetNodeAttr(node->attrs(), attr_name, &attr_value)) {
        out |= attr_value;
      }
    
      if (flib_def->GetAttr(*node, attr_name, &attr_value).ok()) {
        out |= attr_value;
      }
      return out;
    }
    
    Status MarkForCompilationPassImpl::BuildInitialClusterSet() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/compilability_check_util.h

    #include "xla/statusor.h"
    #include "xla/union_find.h"
    #include "xla/util.h"
    #include "tensorflow/core/common_runtime/function.h"
    #include "tensorflow/core/common_runtime/graph_constructor.h"
    #include "tensorflow/core/framework/attr_value.pb.h"
    #include "tensorflow/core/framework/bounds_check.h"
    #include "tensorflow/core/framework/function.h"
    #include "tensorflow/core/framework/graph_def_util.h"
    #include "tensorflow/core/framework/memory_types.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 14.9K bytes
    - Viewed (0)
  8. tensorflow/c/c_api_function_test.cc

                            const char* attr_name, const char* attr_value,
                            TF_Operation** op) {
      TF_OperationDescription* desc = TF_NewOperation(graph, "Placeholder", name);
      TF_SetAttrType(desc, "dtype", TF_INT32);
      TF_SetAttrString(desc, attr_name, attr_value, strlen(attr_value));
      *op = TF_FinishOperation(desc, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  9. tensorflow/cc/saved_model/loader.cc

    #include "tensorflow/cc/saved_model/loader_util.h"
    #include "tensorflow/cc/saved_model/metrics.h"
    #include "tensorflow/cc/saved_model/reader.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_debug_info.pb.h"
    #include "tensorflow/core/framework/node_def.pb.h"
    #include "tensorflow/core/framework/op_def.pb.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 02 04:36:00 UTC 2024
    - 23K bytes
    - Viewed (0)
  10. tensorflow/cc/framework/cc_op_gen.cc

    #include <unordered_set>
    #include <vector>
    
    #include "absl/strings/escaping.h"
    #include "tensorflow/cc/framework/cc_op_gen_util.h"
    #include "tensorflow/core/framework/api_def.pb.h"
    #include "tensorflow/core/framework/attr_value.pb.h"
    #include "tensorflow/core/framework/attr_value_util.h"
    #include "tensorflow/core/framework/op_def_util.h"
    #include "tensorflow/core/framework/op_gen_lib.h"
    #include "tensorflow/core/framework/tensor.pb.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 27 17:22:47 UTC 2023
    - 17K bytes
    - Viewed (0)
Back to top