Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 85 for Fremovexattr (0.25 sec)

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

              DropWhileShapeInvariantInDeviceClusterPass> {
      void runOnOperation() override;
    };
    
    void DropWhileShapeInvariantAttr(Operation* op) {
      if (llvm::isa<WhileOp, WhileRegionOp>(op))
        op->removeAttr(kShapeInvariantAttr);
    }
    void DropWhileShapeInvariantPass::runOnOperation() {
      getOperation().walk([](Operation* op) { DropWhileShapeInvariantAttr(op); });
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_canonicalization_helper.h

      // Drop the "output_shapes" attribute.
      LogicalResult matchAndRewrite(Op op,
                                    PatternRewriter &rewriter) const override {
        bool found = !!op->removeAttr("output_shapes");
        return success(found);
      }
    };
    
    // Helper function to create TF op while copying all underscore attributes from
    // another TF op.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Nov 12 21:57:12 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/device_attribute_to_launch.cc

      auto* return_op =
          builder.create<tf_device::ReturnOp>(op->getLoc(), op->getResults())
              .getOperation();
      MLIRContext* context = launch_op.getContext();
      op->removeAttr(StringAttr::get(context, kDeviceAttr));
      op->moveBefore(return_op);
    }
    
    void DeviceAttributeToLaunch::runOnOperation() {
      const Dialect* tf_dialect = getContext().getLoadedDialect("tf");
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 04 00:59:46 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  4. src/main/webapp/js/admin/plugins/form-validator/toggleDisabled.js

    f(h||!f&&!g)return e=!1,!1}}),e}a.formUtils.registerLoadedModule("toggleDisabled");var e=function(a,b){"disabled"===b?a.find('*[type="submit"]').addClass("disabled").attr("disabled","disabled"):a.find('*[type="submit"]').removeClass("disabled").removeAttr("disabled")},f=!1;a.formUtils.$win.bind("validatorsLoaded formValidationSetup",function(b,g,h){var i=h.disabledFormFilter?g.filter(h.disabledFormFilter):g,j=h.showErrorDialogs===c||h.showErrorDialogs,k=function(b,c,d){var e=a(this);d&&d.indexOf...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/convert_session_initializer_to_function.cc

          continue;
        }
    
        // Since we're now calling this function, savedmodel verification
        // needs it to be private.
        func.setVisibility(SymbolTable::Visibility::Private);
        func->removeAttr("tf_saved_model.exported_names");
    
        ArrayRef<Value> args;
        builder.create<func::CallOp>(session_initializer.getLoc(),
                                     func.getFunctionType().getResults(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 01 05:03:09 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/convert_tpu_model_to_cpu.cc

                                    PatternRewriter& rewriter) const override {
        // Remove `_tpu_replicate` attributes on each operation first.
        if (op->hasAttr(tensorflow::kTPUReplicateAttr)) {
          op->removeAttr(tensorflow::kTPUReplicateAttr);
          return success();
        }
    
        // Remove TPU operations.
        if (isa<TF::TPUReplicateMetadataOp, TF::TPUCompilationResultOp,
                TF::TPUOrdinalSelectorOp>(op)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

        AddCallOpInWhileOpRegion(while_op.getCond(), cond);
        while_op->removeAttr("cond");
        auto body = symbol_table.lookup<mlir::func::FuncOp>(
            while_op->getAttr("body").cast<mlir::FlatSymbolRefAttr>().getValue());
        AddCallOpInWhileOpRegion(while_op.getBody(), body);
        while_op->removeAttr("body");
      });
    }
    
    void AddRegionsForStableHLOOp(mlir::ModuleOp module) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/optimize_global_tensors.cc

        auto global_tensor = kv.first;
        const auto& global_tensor_uses = kv.second;
        if (IsImmutable(global_tensor, global_tensor_uses, resource_analyzer)) {
          global_tensor->removeAttr("is_mutable");
        }
      }
    }
    
    void EraseUnusedGlobalTensors(ModuleOp module,
                                  const GlobalTensorUsesMap& global_tensor_uses) {
      for (auto global_tensor :
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions.cc

        }
    
        // The OK status means this op is quantizable. Return failure since the
        // pattern doesn't rewrite anything yet.
        if (check_status.ok()) return failure();
        call_op->removeAttr(kQuantTraitAttrName);
        removeAttrMapAttribute(call_op, function_name, check_status.message());
        return success();
      }
    
      // Get the quantization method to apply to this composite function. If set,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/tpu_update_embedding_enqueue_op_inputs.cc

      if (!embedding_op_map->insert({embedding_attr.getValue(), op}).second)
        return op->emitOpError(
            "found duplicate TPU embedding ops potentially from multiple "
            "TPUEmbedding layers");
    
      op->removeAttr(kTPUEmbeddingAttr);
      return success();
    }
    
    LogicalResult FindTPUEmbeddingOps(
        func::FuncOp func_op, llvm::StringMap<Operation*>* enqueue_op_map,
        llvm::StringMap<Operation*>* recv_activation_op_map,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 7.7K bytes
    - Viewed (0)
Back to top