Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 111 for Setxattr (0.17 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/passes/convert_tpu_model_to_cpu.cc

     private:
      LogicalResult matchAndRewrite(TF::TPUPartitionedCallOp call_op,
                                    PatternRewriter& rewriter) const override {
        auto f_attr = mlir::dyn_cast<FlatSymbolRefAttr>(call_op.getFAttr());
        auto module_op = call_op->getParentOfType<ModuleOp>();
        SymbolTable symbol_table(module_op);
    
        auto f_name = f_attr.getValue();
        func::FuncOp float_func =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td

        func::FuncOp ResolveFunc(::mlir::SymbolTableCollection* table) {
          if (table)
            return table->lookupNearestSymbolFrom<func::FuncOp>(*this, getFAttr());
          return SymbolTable::lookupNearestSymbolFrom<func::FuncOp>(*this, getFAttr());
        }
        // TODO(b/204997177): Deprecate and remove.
        func::FuncOp func() {  return ResolveFunc(nullptr); }
      }];
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 04:08:35 UTC 2024
    - 90.5K bytes
    - Viewed (0)
  3. tensorflow/c/python_api.cc

      mutex_lock l(graph->mu);
      RecordMutation(graph, op, mutation_type);
    }
    
    void AddControlInput(TF_Graph* graph, TF_Operation* op, TF_Operation* input) {
      TF_AddOperationControlInput(graph, op, input);
    }
    
    void SetAttr(TF_Graph* graph, TF_Operation* op, const char* attr_name,
                 TF_Buffer* attr_value_proto, TF_Status* status) {
      TF_SetAttr(graph, op, attr_name, attr_value_proto, status);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jul 12 18:48:56 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/util/PrunedTagTest.java

        }
    
        public void test_toString() {
            String tag = "tag", id = "id", css = "css", attrName = "attrName", attrValue = "attrValue";
            PrunedTag prunedtag = new PrunedTag(tag);
            prunedtag.setAttr(attrName, attrValue);
            prunedtag.setId(id);
            prunedtag.setCss(css);
            assertEquals("PrunedTag [tag=" + tag + ", id=" + id + ", css=" + css + ", attrName=" + attrName + ", attrValue=" + attrValue + "]",
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/node_matchers.cc

    }
    
    impl::NodeMatcherProperties impl::Attr(std::pair<string, AttrValue> attr) {
      impl::NodeMatcherProperties props;
      props.set_attr(std::move(attr));
      return props;
    }
    
    impl::NodeMatcherProperties impl::Attr(string name) {
      impl::NodeMatcherProperties props;
      props.set_attr({std::move(name), std::nullopt});
      return props;
    }
    
    NodeMatcherProperties ConstantValue(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 03 16:15:20 UTC 2022
    - 16.8K bytes
    - Viewed (0)
  6. fastapi/openapi/utils.py

        if operation_id in operation_ids:
            message = (
                f"Duplicate Operation ID {operation_id} for function "
                + f"{route.endpoint.__name__}"
            )
            file_name = getattr(route.endpoint, "__globals__", {}).get("__file__")
            if file_name:
                message += f" at {file_name}"
            warnings.warn(message, stacklevel=1)
        operation_ids.add(operation_id)
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/tpu_device_propagation.cc

          op_to_update->setAttr(kDeviceAttr, new_device_attr);
          PopulateDeviceForOpResults(*op_to_update, new_device_attr.getValue(),
                                     value_to_device);
    
          if (auto sink =
                  llvm::dyn_cast<tf_executor::NextIterationSinkOp>(op_to_update)) {
            auto source = sink.GetSource();
            source->setAttr(kDeviceAttr, new_device_attr);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/xla_rewrite.cc

        }
      }
    
      if (!in_order) {
        // Functions do not get reused in practice, so skip the check for if the
        // callee has been updated.
        StringAttr callee_sym = cluster_func_op.getFuncAttr().getAttr();
        MoveResourceArgsToEnd(symtab.lookup<func::FuncOp>(callee_sym));
      }
      builder.setInsertionPoint(cluster_func_op);
      auto xla_launch_op = builder.create<TF::XlaLaunchOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/common/lift_as_function_call_test.cc

      EXPECT_TRUE(isa<TF::XlaCallModuleOp>(lifted_op));
      EXPECT_EQ(
          mlir::cast<StringAttr>(lifted_op->getAttr("_original_entry_function")),
          "composite_dot_general_fn_1");
      EXPECT_EQ(
          mlir::cast<ArrayAttr>(lifted_dot_general_op->getAttr("precision_config")),
          builder_.getArrayAttr(SmallVector<Attribute>(
              1, mlir::stablehlo::PrecisionAttr::get(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/node_matchers.h

        input_matchers_ = std::move(inputs);
      }
    
      void set_control_deps(NodeSeqMatcher control_deps) {
        DCHECK(IsEmpty());
        control_deps_ = std::move(control_deps);
      }
    
      void set_attr(AttrKeyValuePair attr) {
        DCHECK(IsEmpty());
        attr_ = std::move(attr);
      }
    
      bool IsEmpty() const {
        return !name().has_value() && !op().has_value() && !inputs().has_value() &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 8.1K bytes
    - Viewed (0)
Back to top