Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 47 for getHttp (0.16 sec)

  1. tensorflow/compiler/mlir/lite/transforms/post_quantize.cc

                                    PatternRewriter& rewriter) const override {
        auto input_op = op.getInput().getDefiningOp();
        if (auto q = llvm::dyn_cast_or_null<QuantizeOp>(input_op)) {
          if (!q->getAttr(mlir::quant::kVolatileOpAttrName)) return failure();
    
          if (remove_volatile_ops_type == kPreserveInputsAndOutputs) {
            // Don't remove leading and trailing QDQ for PTQ workflow, so the io
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfr/passes/decompose.cc

            new_operands.push_back(build_list_op.getOut());
          } else {
            auto attr_name = compose_func.getArgAttrOfType<StringAttr>(
                arg.index(), kAttrArgumentNameAttr);
            auto attribute = op->getAttr(attr_name.getValue());
            if (!attribute) {
              attribute =
                  compose_func.getArgAttr(arg.index(), kAttrArgumentDefaultAttr);
            }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/tpu_validate_inputs.cc

      if (!op->hasAttr(TF::kTpuReplicateAttr)) {
        op->emitOpError("TF2XLA TPU bridge input check: " + errormsg() +
                        "missing _tpu_replicate attr");
        return false;
      }
      auto opattr = op->getAttr(TF::kTpuReplicateAttr);
      if (opattr != attr) {
        op->emitOpError("TF2XLA TPU bridge input check: " + errormsg() +
                        "invalid _tpu_replicate attr.")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 06:51:01 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc

            float_func.emitError("The attr_map attribute is malformed");
            return failure();
          }
          identifier_to_attr.insert(
              {llvm::StringRef(std::string(key_and_value_pair[1])),
               inner_op.getAttr(
                   llvm::StringRef(std::string(key_and_value_pair[1])))});
        }
      }
    
      // Set the attributes for ops with the attr_map attribute.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  5. tensorflow/c/kernels_experimental.cc

                                                    TF_Status* status) {
      ::tensorflow::TensorShape shape;
      auto* cc_ctx = reinterpret_cast<::tensorflow::OpKernelConstruction*>(ctx);
      ::tensorflow::Status s = cc_ctx->GetAttr(attr_name, &shape);
      ::tensorflow::Set_TF_Status_from_Status(status, s);
      size_t rank = static_cast<size_t>(shape.dims());
    
      if (!status->status.ok()) return;
    
      if (num_dims != rank) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 06:12:29 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/route/route.go

    				},
    			},
    		}
    	case *networking.LoadBalancerSettings_ConsistentHashLB_HttpCookie:
    		cookie := consistentHash.GetHttpCookie()
    		var ttl *durationpb.Duration
    		if cookie.GetTtl() != nil {
    			ttl = cookie.GetTtl()
    		}
    		return &route.RouteAction_HashPolicy{
    			PolicySpecifier: &route.RouteAction_HashPolicy_Cookie_{
    				Cookie: &route.RouteAction_HashPolicy_Cookie{
    					Name: cookie.GetName(),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc

        ModuleOp module_op = op->getParentOfType<ModuleOp>();
    
        // Ignore ops without quantization method.
        // Consider adding checks for individual methods.
        if (!op->getAttr(kQuantizationMethodAttr)) return failure();
    
        // Ignore unquantized ops.
        if (!IsQuantizedXlaCallModuleOp(op)) return failure();
    
        // For weight-only quantization, op should be hybrid quantized.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 06:04:36 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_cluster_formation.cc

        }
        // Recreate the attributes dictionary to only contain "value".
        NamedAttrList attributes;
        attributes.append(NamedAttribute(value_str_attr, cst->getAttr("value")));
        cst->setAttrs(attributes.getDictionary(&getContext()));
      });
    
      auto& side_effect_analysis = getAnalysis<mlir::TF::SideEffectAnalysis>();
      for (auto func : getOperation().getOps<mlir::func::FuncOp>())
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 39.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

          for (const auto& attr_name : attr_names) {
            if (!global_iter_id_op->hasAttr(attr_name)) continue;
            offset->setAttr(attr_name, global_iter_id_op->getAttr(attr_name));
            new_global_iter_id->setAttr(attr_name,
                                        global_iter_id_op->getAttr(attr_name));
          }
          // Make the next function to get inlined use a different offset.
          ++offset_value;
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

      if (padding == tensorflow::Padding::EXPLICIT) {
        ArrayRef<Attribute> explicit_padding;
        ArrayAttr explicit_pad = mlir::dyn_cast_or_null<::mlir::ArrayAttr>(
            op->getAttr("explicit_paddings"));
        if (!explicit_pad) {
          explicit_pad = ::mlir::Builder(op->getContext()).getI64ArrayAttr({});
        }
        explicit_padding = explicit_pad.getValue();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
Back to top