Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for removeStar (0.16 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/tpu_cluster_cleanup_attributes.cc

          if (isa<tf_device::ClusterOp>(op)) return WalkResult::advance();
          op->removeAttr(TF::kReplicationInfoAttr);
          op->removeAttr(TF::kCompileDeviceTypeAttr);
          // This attribute is used for op colocation. Since all ops are located
          // on a single device cluster, this private attribute is no longer
          // needed.
          op->removeAttr(kClassAttr);
          if (auto attr = op->getAttrOfType<StringAttr>(kDeviceAttr)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/add_functions_for_exported_names.cc

      void runOnOperation() override;
    };
    
    // Set the (array of) exported name(s) of a (public) function to just
    // contain the given string.
    void SetExportedName(func::FuncOp f, StringRef name) {
      OpBuilder b(f);
      f->removeAttr(kTfSavedModelExportedNamesAttr);
      f->setAttr(kTfSavedModelExportedNamesAttr, b.getStrArrayAttr({name}));
    }
    
    // Convert a savedmodel public function into a private function.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 08:06:04 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/drop_savedmodel_semantics.cc

        auto exported_names = builder.getStringAttr(kTfSavedModelExportedNamesAttr);
        auto index_path = builder.getStringAttr(kTfSavedModelIndexPathAttr);
        module.walk([&](func::FuncOp func) {
          func->removeAttr(exported_names);
          for (unsigned i = 0, e = func.getNumArguments(); i != e; ++i) {
            if (func.getArgAttrOfType<FlatSymbolRefAttr>(i, bound_input)) {
              func.removeArgAttr(i, bound_input);
            }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 13 23:39:10 UTC 2022
    - 3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/move_tpu_compile_to_front.cc

            op = op->getParentOp();
          }
        }
      });
    }
    
    void UnmarkCompilationOps(Operation* func) {
      func->walk([&](Operation* op) {
        while (op && op != func) {
          op->removeAttr("_is_compilation");
          op->removeAttr("_wraps_compilation");
          op = op->getParentOp();
        }
      });
    }
    
    int OutsideCompilationOrdering(Operation* predecessor, Operation* op) {
      // Actual compilations go first.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 17 00:26:18 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  5. tests/integration/telemetry/api/customize_metrics_test.go

    					return err
    				}
    				return nil
    			}, retry.Delay(1*time.Second), retry.Timeout(300*time.Second))
    			// check tag removed
    			if strings.Contains(httpMetricVal, removedTag) {
    				t.Errorf("failed to remove tag: %v", removedTag)
    			}
    			util.ValidateMetric(t, cluster, promInst, httpDestinationQuery, 1)
    			util.ValidateMetric(t, cluster, promInst, grpcDestinationQuery, 1)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/canonicalize_compile_and_replicate_attributes.cc

        // Convert `_tpu_replicate`.
        if (op->hasAttr(TF::kTpuReplicateAttr)) {
          op->setAttr(tensorflow::kReplicationInfoAttr,
                      op->getAttr(TF::kTpuReplicateAttr));
          op->removeAttr(tensorflow::kTpuReplicateAttr);
          op->setAttr(tensorflow::kCompileDeviceTypeAttr,
                      builder.getStringAttr(tensorflow::kTpuDevice));
        }
    
        // Convert `_XlaMustCompile`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/convert_to_legacy_compile_and_replicate_attributes.cc

          return WalkResult::interrupt();
        if (op->hasAttr(TF::kReplicationInfoAttr)) {
          op->setAttr(TF::kTpuReplicateAttr, op->getAttr(TF::kReplicationInfoAttr));
          op->removeAttr(TF::kReplicationInfoAttr);
          op->removeAttr(TF::kCompileDeviceTypeAttr);
        }
        return mlir::WalkResult::advance();
      });
      return failure(result.wasInterrupted());
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/strip_saved_module_metadata.cc

      for (auto namedAttr : stripAttrs) {
        module->removeAttr(namedAttr.getName());
      }
    }
    
    void StripFunction(func::FuncOp func) {
      auto stripAttrs = llvm::to_vector<4>(llvm::make_filter_range(
          func->getAttrs(),
          [](NamedAttribute namedAttr) { return ShouldStripAttr(namedAttr); }));
      for (auto namedAttr : stripAttrs) {
        func->removeAttr(namedAttr.getName());
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 08:06:04 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/strip_tf_attributes.cc

      auto stripAttrs = llvm::to_vector<4>(llvm::make_filter_range(
          func->getAttrs(),
          [](NamedAttribute namedAttr) { return ShouldStripAttr(namedAttr); }));
      for (auto namedAttr : stripAttrs) {
        func->removeAttr(namedAttr.getName());
      }
    
      for (int i = 0; i < func.getNumArguments(); ++i) {
        llvm::ArrayRef<mlir::NamedAttribute> attrs =
            mlir::function_interface_impl::getArgAttrs(func, i);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 08:06:04 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  10. src/main/webapp/js/admin/plugins/form-validator/jsconf.js

    alidation||{},function(b,d){var e;e="#"===b[0]?a(b):"."===b[0]?c.find(b):c.find('*[name="'+b+'"]'),e.attr("data-validation",d.validation),a.each(d,function(a,b){"validation"!==a&&b!==!1&&(b===!0&&(b="true"),"_"===a[0]?(a=a.substring(1),b===!1?e.removeAttr(a):e.attr(a,b)):e.valAttr(a,b))})}),a.validate(b)}}(a)});...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 867 bytes
    - Viewed (0)
Back to top