Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 38 for attr_value (0.21 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. tensorflow/compiler/jit/compilability_check_util_test.cc

    #include "tensorflow/core/lib/core/status_test_util.h"
    #include "tensorflow/core/platform/test.h"
    
    namespace tensorflow {
    namespace {
    
    AttrValue FuncListAttr(const absl::Span<const char* const> names) {
      AttrValue attr;
      for (const char* name : names) {
        attr.mutable_list()->add_func()->set_name(name);
      }
      return attr;
    }
    
    constexpr char kFunctionalIfNodeName[] = "If";
    constexpr char kFunctionalCaseNodeName[] = "Case";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 10 12:32:39 UTC 2022
    - 22.3K bytes
    - Viewed (0)
  8. 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)
  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